I created a watcher in Kibana for sending an email alert on every failed login for root, but it's not working properly. Condition part returns zero hits even after giving wrong password for the root login. Below is the watcher:
Also, please take the time to properly format your message. This forum supports markdown which makes it super simple to include nicely formatted code snippets.
If you read the output, that includes the response of the search in the result.input.payload field, you will see, that your query did not return any documents. Which in turn means the watch acts as expected.
I think the problem is with timestamp. The log generation time in kibana and the triggered_time in watcher output are different (different time zones). I went through many discussions in the forum about the same issue, but, no luck.
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.