Alerting

Alert when there is more than expected errors in a specific log file?

HKLM
New Member

I have a log file for a system logging everything in it, that log file has errors in a daily base. I want to make an analysis per hour during business hours, so looking for previous logs and getting the average numbers (count) for each hour. So if in the future that log file has more error than it has before, during a specific time, so thus I need to get alerted on that?
Specific time I mean runnung a query each 15 minutes during business hours, if the errors are more than expected, it means something happens and needs my consideration.

0 Karma

marycordova
SplunkTrust
SplunkTrust

Please post some sample data.

Otherwise, first find your baseline threshold count:

base search for only error events
| timechart count span=15m

Then, write an alert using that threshold.

@marycordova
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...