Back to Kibana

Local cross cluster search setup

dev_docs/tutorials/configuring_cross_cluster_search.mdx

9.4.01.1 KB
Original Source

Local CCS (cross cluster search) instructions

  • Spin up a "remote" instance of Elasticsearch (this needs to start before the "local" instance for some odd reason):
yarn es snapshot -E http.port=9500 -E transport.port=9600 -E path.data=../remote
  • Spin up the "local" instance of Elasticsearch:
yarn es snapshot
  • Load data into both the "remote" and "local" clusters:
node scripts/makelogs.js -c 100000 -d 100/10 --url elastic:changeme@localhost:9500
node scripts/makelogs.js -c 100000 -d 100/10 --url elastic:changeme@localhost:9200
  • Spin up Kibana:
yarn start

Once it is running, do the following: