permissions for apm writer

This commit is contained in:
Alex 2022-03-08 22:41:01 +01:00
parent 97858a1433
commit 874833c98e
Signed by: lx
GPG key ID: 0E496D15096376BE

View file

@ -42,8 +42,8 @@ check kibana works, login to kibana with user `elastic`
create role `apm_writer`, give privileges:
- cluster privileges `manage_ilm`, `read_ilm`, `manage_ingest_pipelines`
- on index `apm-*` privileges `create_doc`, `create_index`, `view_index_metadata`
- cluster privileges `manage_ilm`, `read_ilm`, `manage_ingest_pipelines`, `manage_index_templates`
- on index `apm-*` privileges `create_doc`, `create_index`, `view_index_metadata`, `manage`
- on index `apm-*sourcemap` privilege `read_cross_cluster`
create user `apm` with roles `apm_writer` and `apm_system`. give it a randomly generated password that you save in `secrets/telemetry/elastic_passwords/apm`