[rsyslog] Alert when multiple repeated lines are found

Julian Yap julianokyap at gmail.com
Thu Jul 31 00:18:09 CEST 2008


Is there a way to set an Alert when multiple repeated lines are found in a log?

I want to spawn an email Alert if a message is received 3 times.

Example log lines:
Jul 30 04:19:29 localhost program: Error detected
Jul 30 05:19:29 localhost program: Error detected
Jul 30 06:19:29 localhost program: Error detected

Thanks,
Julian


More information about the rsyslog mailing list