Kibana watcher condition for multiple error codes


(Niketh Srikanth) #1

Hi, I'm looking for a watcher setup on different error codes generated in the logs and trigger an alert when any error code matches in the logs. Please advise how to set it up?

Example:

ERR 0011: Invalid account number
ERR 0022: Error in processing account
ERR 0033: Payment verification timeout.
....

Can you please provide me with example watch script that would be much helpful?

Thank you..!!


#2

Hi @srikanth.niketh,

Have you tried to go through examples we have in our official docs? Also take a look at script condition, you can implement pretty sophisticated stuff with it too.

Best,
Oleg