Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow syslog threshold to check current and past events to trigger alert #202

Open
bmfmancini opened this issue Dec 2, 2022 · 1 comment

Comments

@bmfmancini
Copy link
Member

The current syslog threshold setup only looks at the messages in the syslog_incoming table
this only allows for syslog to check logs that have been sent in the interveral of the syslog poller

for example on a 1 minute polling cycle with a syslog threshold set to 10 the device would have to send the same log 10 times in that minute for the threshold to fire

It would be better to check the saved syslog data to see if the threshold has been breached
it would be nice to have a timeframe option say x messages in x minutes/days etc similar to what we have in the thold plugin

@TheWitness
Copy link
Member

That could be expensive, but with partitioned tables on a date range, is should be okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants