How to hide Kibana menu for user?

How to hide Kibana menu for users? For example: I want hide Discover Alerting and Security.

I don´t think it is possible to remove the menu, but you can hide most menu items by assigning the “kibana_read_only” role to the user. That will give the user dashboard only access.

Can you clarify if you are looking to hide the menu items for all users or for specific users?

We customized Kibana to simplify the menu, navigation et al. For the menu, we customized the css since we wanted to simplify the menu across all users.

You can disable alerting plugin on kibana.yml using the config opendistro.alerting.enabled (
About Discover I don’t think there is a easy way to hide without change the code.