I have Kibana alert where I am NOT getting all alerts. This is inconsistent behavior where it works some times and sometimes not. I am not sure why.
Based on my condition I am checking certain status every minute (now - 1m). Kibana had 5 incidents that fits this criteria but only received for alerts.
FYI, this alerts are being sent to Slack channel. Below is the case where I have 5 events but only 4 alerts.
Hi,
Can you paste your watch here( obfuscate the sensitive information) . Also the Kibana logs would be helpful too and the version of the stack you are using.
Which executes your configured search, but will not execute the actions.. yet return useful info in the JSON response. Using the alternative_input with some scripting on the client side might be easier, to be honest.
I have attached screen shots of log entry and alerts so when you say "can u plz capture the logs and compare it to the time when it does not trigger ?", isn't that sufficient info?
What else I should be looking at? I tried your approach as well where my alert logic returns results.
The issue I am running into is, I can see logs entry for events but alerts are not consistent (i.e. 5 events in logs but only 4 alerts). This tells me that alert logic is correct.
can you check if watcher is started by checking the watcher stats and paste the output here?
Can you stop and start watcher and check with the watcher stats once again if everything is started?
Alternatively before doing that. Could you pick one watch, that does not get triggered currently and just store it again, and see if it gets triggered again?
I assume there is also nothing interesting in the log files? Has this been a multi node cluster at some point in time (I've never seen this so far, so super interested in more information).
I am using Monitor -> Trigger to send Alert to Slack.
Setup:
There is Monitor. It is scheduled to run at every minute. I am using extraction query which has index with wildcard. This monitor has query which I have already posted.
This monitor has one Trigger. Condition is this, ctx.results[0].hits.total.value > 0. It is configured to send Slack notification to particular channel.
My issue is, this works sometimes and sometimes not.
I hope this gives you clear idea about what I have so far and issue I am facing.
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.