The message error ("Unable to load rules") below appears when I try to consult or manage the rules on Stack Management > Alerts and Insights.
I've already tried to look for similar bugs here, but all of them were found on version prior than mine (which is v 8.6.1).
I'm using the user "elastic", which is a superuser and shouldn't have any permission issues.
I think it's interesting to say that I already had 600+ rules (which are still functional) just in this space. I can check the logs tab too (screenshot below), but I can't view and manage the rules (through the tab in the first screenshot).
I also couldn't find the .kibana_alerting_cases_* index in my env.
@stephenb
I have rules in almost all spaces... In all these spaces, I get the error I initially reported. In any case, I repeated the command in the initial space and got the same result as before:
I'm sorry for my persistence, but I still don't quite understand where is the problem... I have not one but two aliases pointing to the index... What should I do with this?
Since the index health is ok , next i will try to access the screen again & check the kibana logs/elasticsearch log as to why this error is received as just "Unable to load rules" will not help to find the root cause.
From the kibana/elasticsearch logs at same time we will be able to proceed forward.
We don't know what the problem is either, that's why we're asking you to run all these commands....
The good thing is it looks like your index and alias is there...
And so I agree with @Tortoise That you're at the point you're going to need to look at the kibana and elasticsearch logs to figure out what's going on when you access that screen.
You can also go into Chrome Dev tools and see what the response is clear the network and hit refresh...
{
"statusCode": 400,
"error": "Bad Request",
"message": "Error injecting reference into rule params for rule id 4fcb9f70-8014-11ee-b50b-0b6b99edc1f - Could not find reference for kibanaSavedObjectMeta.searchSourceJSON.index"
}
searched a little bit more and found two links that may be helpful, even though the first one was closed without resolution:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.