Grant privileges and roles needed to read Metricbeat data from Kibana
Stack
Kibana users typically need to view dashboards and visualizations that contain Metricbeat data. These users might also need to create and edit dashboards and visualizations.
To grant users the required privileges:
Create a reader role, called something like
metricbeat_reader, that has the following privilege:Type Privilege Purpose Index readonmetricbeat-*indicesRead data indexed by Metricbeat Spaces ReadorAllon Dashboards, Visualize, and DiscoverAllow the user to view, edit, and create dashboards, as well as browse data. Spaces ReadorAllon Kibana MetricsAllow the use of Kibana Metrics Assign the reader role, along with the following built-in roles, to users who need to read Metricbeat data:
Role Purpose monitoring_userAllow users to monitor the health of Metricbeat itself. Only assign this role to users who manage Metricbeat.