Back to Kibana

Local cross cluster search setup

docs/extend/getting-started/local-cross-cluster-search-setup.md

9.5.01.2 KB
Original Source

Local cross cluster search setup

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: