- Observability: other versions:
- What is Elastic Observability?
- What’s new in 8.13
- Get started
- Observability AI Assistant
- Application performance monitoring (APM)
- Self manage APM Server
- Data Model
- Features
- How-to guides
- OpenTelemetry integration
- Manage storage
- Configure
- Advanced setup
- Secure communication
- Monitor
- API
- Troubleshoot
- Upgrade
- Release notes
- Known issues
- Log monitoring
- Infrastructure monitoring
- AWS monitoring
- Azure monitoring
- Synthetic monitoring
- Get started
- Scripting browser monitors
- Configure lightweight monitors
- Manage monitors
- Work with params and secrets
- Analyze monitor data
- Monitor resources on private networks
- Use the CLI
- Configure projects
- Configure Synthetics settings
- Grant users access to secured resources
- Manage data retention
- Use Synthetics with traffic filters
- Migrate from the Elastic Synthetics integration
- Scale and architect a deployment
- Synthetics support matrix
- Synthetics Encryption and Security
- Troubleshooting
- Uptime monitoring
- Real user monitoring
- Universal Profiling
- Alerting
- Service-level objectives (SLOs)
- Cases
- CI/CD observability
- Troubleshooting
- Fields reference
- Tutorials
IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Grant privileges and roles needed for writing events
editGrant privileges and roles needed for writing events
editAPM users that publish events to Elasticsearch need privileges to write to APM data streams.
General writer role
editTo 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 Index
auto_configure
ontraces-apm*
,logs-apm*
, andmetrics-apm*
indicesPermits auto-creation of indices and data streams
Index
create_doc
ontraces-apm*
,logs-apm*
, andmetrics-apm*
indicesWrite events into Elasticsearch
- Assign the general writer role to users who need to publish APM data.
- If real user monitoring is enabled, create a separate RUM source mapping role.
On this page
Was this helpful?
Thank you for your feedback.