-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
got Unauthorized by "alerts" to get ".es-query" rule
after elk upgrade
#175206
Comments
Pinging @elastic/response-ops (Team:ResponseOps) |
I can fix alerts with query
Failed alerts has consumer: "alerts" value. |
I've fixed all rules by this
But after this command I need to update rules ApiKeys |
Hey, any news about this? I'm experiencing something very similar and not sure how to proceed. |
Hey @EyalWork! Could you provide more information about your situation? Which type of rules are affected? For which permissions it does not work for you? |
Well, I've recently updated my VM based cluster from 8.6.0 to 8.11.3, and ever since I've had specific rules I cant access - meaning I can edit, I can see them in discover by reading the ".kibana_alerting_cases_8.11.3", but I cant seem to use the built in UI to view the rule run history etc. |
f
I ended up using this to fix this issue, will most likely update my version regardless in the upcoming weeks. |
Hey @EyalWork! Sorry for the late reply. There is a known bug (#184595) for rules with the
This indeed is weird. It should at least be consistent in all spaces.
I would advise you to go through the official support channels. Unfortunately, the bug (only for
I will try to reproduce it and come back with an update and a workaround. @turbotankist @EyalWork Could you please tell me what Kibana privileges (how the role is configured) the user you logged in has? It will help a lot with the investigation. |
Hi!
In my case, I've tried with numerous users, from users who originally made the alert to a superuser to eventually using the elastic user.
Knowing that i should change it off "discover" regardless of space, What does So far, I've only fixed it in 1 space where my alerts were most important, but I'm willing to cooperate to the best of my abilities to try and help understand and solve this issue. |
Our teams just started noticing this today on Elastic stack |
You should check what the value of the "alert.consumer" field is on the rules that aren't working, In my case all the rules that didn't work had the same value, so changing that using the POST http request from the post's author. Don't forget you have to update your API keys after this, I used a script to update them in mass, but I sadly don't have it with me as I work in an air gapped environment. Also, the rules technically still work from what I've tested, its just that you can't really see their run history\edit them. |
Hey all! The bug regarding the
The |
@turbotankist In your case it seems that you have |
It's been 10 months. I can't give information about the privileges now. The cluster was installed via eck-operator. Nothing has been specifically changed in the kibana permissions. |
@turbotankist Sorry for the time it took for this issue. Is there anything I can help with the current issue? |
Kibana version:
8.11.4
Elasticsearch version:
8.11.4
Server OS version:
eks
Original install method (e.g. download page, yum, from source, etc.):
eck-operator 2.10.0
Describe the bug:
After upgradin elastic and kibana from 8.6.2 to 8.11.4 I can't get or update kibana rules.
Expected behavior:
Screenshots (if relevant):
Any additional context:
Some of rules works and I can edit them, Some doesn't. There is no any correlation.
The text was updated successfully, but these errors were encountered: