Filebeat merge input duplicate logs

we had meet some linux filesystem error recently,a troublesome thing is that Linux will log a large number of the same logs at a certain point in time.like this:


we use filebeat and logstash to record this error and send email alert,but how can I merge these same log to single record? these repeated alert mail have filled our mailbox.
or can someone give improve suggestions? thanks for any replies.

Well If you use a Kibana alert and only set it to notify on status change you will only get one email until the condition clears then you'll get another email saying it's clear.

That is probably how I would approach the alerting side of it.

Kibana Alerting

You could probably use a log threshold alert

And notify only on status change

Only on status change: Actions are not repeated when an alert remains active across checks. Actions run only when the alert status changes.

thanks for your suggestion, we will test it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.