-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metricbeat errors due to missing admin/aliases/get
permission for remote_monitoring_user
user
#63203
Comments
Pinging @elastic/es-security (:Security/Authorization) |
@ycombinator Can you confirm what we need to support here? From previous conversation, it seems to be:
Is that all? |
tl;dr: Yes, those are the only two API calls we are currently missing support for. Further, support for them should be added to the I started with a fresh install of Elasticsearch and Metricbeat. Using Wireshark I looked at the HTTP API calls Metricbeat makes to Elasticsearch right after start up (which is when it performs any index management related setup actions). Here's what that looks like: Looking at the definition of the Lines 13 to 22 in 5197043
Lines 29 to 31 in 5197043
Looking at the definition of these roles... Lines 70 to 99 in 5197043
... I see that they have the following privileges already:
Comparing the API calls made by Metricbeat to Elasticsearch at start up with the privileges already available to the As noted earlier, the |
The `remote_monitoring_agent` reserved role is extended to grant more privileges over the metricbeat-* index pattern. In addition to the index and create_index index privileges that it granted already, it now also grants the view_index_metadata privilege. Closes #63203
The `remote_monitoring_agent` reserved role is extended to grant more privileges over the metricbeat-* index pattern. In addition to the index and create_index index privileges that it granted already, it now also grants the view_index_metadata privilege. Closes #63203
The `remote_monitoring_agent` reserved role is extended to grant more privileges over the metricbeat-* index pattern. In addition to the index and create_index index privileges that it granted already, it now also grants the view_index_metadata privilege. Closes #63203
The default metricbeat configuration using the built-in
remote_monitoring_user
user fails due to a missing permission.The workaround is to create a separate user with the appropriate permissions but the expectation should be that using the built-in users should "just work". My understand would be that either a) metricbeat is doing something it shouldn't or b) the built-in user should have this permission added.
The text was updated successfully, but these errors were encountered: