Add instructions for connecting to local ES cluster started with yarn es snapshot (#127262)

This commit is contained in:
Søren Louv-Jansen 2022-03-09 13:48:04 +01:00 committed by GitHub
parent 8dcf1ad2ed
commit c149966af5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,15 @@ node ./scripts/es_archiver load "x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_
node packages/elastic-apm-synthtrace/src/scripts/run packages/elastic-apm-synthtrace/src/scripts/examples/01_simple_trace.ts --target=http://elastic:changeme@localhost:9200
```
**Connect Kibana to ES**
Update `config/kibana.dev.yml` with:
```yml
elasticsearch.hosts: http://localhost:9200
elasticsearch.username: kibana_system
elasticsearch.password: changeme
```
Documentation for [Synthtrace](https://github.com/elastic/kibana/blob/main/packages/elastic-apm-synthtrace/README.md)
## 2. Cloud-based ES Cluster (internal devs only)