diff --git a/x-pack/plugins/cross_cluster_replication/README.md b/x-pack/plugins/cross_cluster_replication/README.md index 0babb848975c91..26c71f75aa77d6 100644 --- a/x-pack/plugins/cross_cluster_replication/README.md +++ b/x-pack/plugins/cross_cluster_replication/README.md @@ -5,11 +5,8 @@ You can run a local cluster and simulate a remote cluster within a single Kibana directory. 1. Start your "local" cluster by running `yarn es snapshot --license=trial` and `yarn start` to start Kibana. -2. Download Elasticsearch repository, preferably to a folder adjacent to Kibana. -3. Start your "remote" cluster by running `yarn es source --source-path={PATH/TO/ELASTICSEARCH/REPOSITORY} --license=trial -E cluster.name=europe -E transport.port=9400`. - - Parameter `--source-path` defaults to `../elasticsearch` and can be omitted if Elasticsearch repository is at the same level as Kibana: - `yarn es source --license=trial -E cluster.name=europe -E transport.port=9400`. -4. Index a document into your remote cluster by running `curl -X PUT http://elastic:changeme@localhost:9201/my-leader-index --data '{"settings":{"number_of_shards":1,"soft_deletes.enabled":true}}' --header "Content-Type: application/json"`. +2. Start your "remote" cluster by running `yarn es source --license=trial -E cluster.name=europe -E transport.port=9400` in a separate terminal tab. +3. Index a document into your remote cluster by running `curl -X PUT http://elastic:changeme@localhost:9201/my-leader-index --data '{"settings":{"number_of_shards":1,"soft_deletes.enabled":true}}' --header "Content-Type: application/json"`. Note that these settings are required for testing auto-follow pattern conflicts errors (see below). Now you can create follower indices and auto-follow patterns to replicate the `my-leader-index`