APM reader user
editAPM reader user
editAPM reader users typically need to view the APM app and dashboards and visualizations that use APM data. These users might also need to create and edit dashboards, visualizations, and machine learning jobs.
APM reader
editTo create an APM reader user:
-
Create a new role, named something like
read-apm, and assign the following privileges:Type Privilege Purpose Index
readonapm-*Read-only access to
apm-*dataIndex
view_index_metadataonapm-*Read-only access to
apm-*index metadataType Privilege Purpose Index
readonlogs-apm*Read-only access to
logs-apm*dataIndex
view_index_metadataonlogs-apm*Read-only access to
logs-apm*index metadataIndex
readonmetrics-apm*Read-only access to
metrics-apm*dataIndex
view_index_metadataonmetrics-apm*Read-only access to
metrics-apm*index metadataIndex
readontraces-apm*Read-only access to
traces-apm*dataIndex
view_index_metadataontraces-apm*Read-only access to
traces-apm*index metadataUsing the APM integration for Elastic Agent? Add the privileges under the Data streams tab.
-
Assign the
read-apmrole created in the previous step, and the following built-in roles to any APM reader users:Role Purpose kibana_adminGrants access to all features in Kibana.
machine_learning_adminGrants the privileges required to create, update, and view machine learning jobs
Partial APM reader
editIn some instances, you may wish to restrict certain Kibana apps that a user has access to.
-
Create a new role, named something like
read-apm-partial, and assign the following privileges:Type Privilege Purpose Index
readonapm-*Read-only access to
apm-*dataIndex
view_index_metadataonapm-*Read-only access to
apm-*index metadataType Privilege Purpose Index
readonlogs-apm*Read-only access to
logs-apm*dataIndex
view_index_metadataonlogs-apm*Read-only access to
logs-apm*index metadataIndex
readonmetrics-apm*Read-only access to
metrics-apm*dataIndex
view_index_metadataonmetrics-apm*Read-only access to
metrics-apm*index metadataIndex
readontraces-apm*Read-only access to
traces-apm*dataIndex
view_index_metadataontraces-apm*Read-only access to
traces-apm*index metadataUsing the APM integration for Elastic Agent? Add the privileges under the Data streams tab.
-
Assign feature privileges to any Kibana feature that the user needs access to. Here are two examples:
Type Privilege Purpose Kibana
ReadorAllon the APM and User Experience featureAllow the use of the the APM and User Experience apps
Kibana
ReadorAllon Dashboards and DiscoverAllow the user to view, edit, and create dashboards, as well as browse data.
-
Finally, assign the following role if a user needs to enable and edit machine learning features:
Role Purpose machine_learning_adminGrants the privileges required to create, update, and view machine learning jobs