Update the command that creates APM mappings to use system_indices_superuser (#126623)

This commit is contained in:
Giorgos Bamparopoulos 2022-03-02 14:11:54 +00:00 committed by GitHub
parent d53154ec5e
commit 1e0a394dce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ yarn es snapshot
**Create APM mappings**
```
node ./scripts/es_archiver load "x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_mappings_only_8.0.0" --es-url=http://elastic:changeme@localhost:9200 --kibana-url=http://elastic:changeme@localhost:5601 --config=./test/functional/config.js
node ./scripts/es_archiver load "x-pack/plugins/apm/ftr_e2e/cypress/fixtures/es_archiver/apm_mappings_only_8.0.0" --es-url=http://system_indices_superuser:changeme@localhost:9200 --kibana-url=http://elastic:changeme@localhost:5601 --config=./test/functional/config.js
```
*Note: Elasticsearch must be available before running the above command*