APM users that publish events to Elasticsearch need privileges to write to APM data streams.
General writer roleedit
To grant an APM user the required privileges for writing events to Elasticsearch:
Create a general writer role, called something like
apm_writer, that has the following privileges:
Type Privilege Purpose
Permits auto-creation of indices and data streams
Write events into Elasticsearch
- If real user monitoring is enabled, additional privileges are required to read source maps. See RUM source map API for more details. Assign these extra privileges to the general writer role.
- Assign the general writer role to users who need to publish APM data.
Intro to Kibana
ELK for Logs & Metrics