Syslog Alerts

I have created 2 alerts which monitor the syslog for a regular expression and alert if the expression is seen in the past 5 minutes. I am unable to get these alerts working. What am I doing wrong?

OpenVPN Disconnect:
syslog.timestamp >= “macros.past_5m” AND syslog.msg REGEXP “SIGTERM

OpenVPN Connect:
syslog.timestamp >= “macros.past_5m” AND syslog.msg REGEXP “Peer Connection Initiated

See [Solved] Problem with Syslog alert rule

Thanks, that worked. It gave me an error that my rule couldn’t be imported, but it imported it anyway.

I found that using: macros.past_5m does the same thing.

1 Like