Alerting

alert when host sends less than 100 logs per hour

sbattista09
Contributor

how to see when a set of host send under 100 logs per hour? stats count wont show a value of 0. and you cant use HEAD with fields(that i know of). Whats the best way to do this?

Tags (1)
0 Karma
1 Solution

adonio
Ultra Champion

you can use | tstats command, for the last 60 minutes every hour

 | tstats count where index = * by host | where count < 100

save as an alert and triger where count = 0

hope it helps

View solution in original post

0 Karma

adonio
Ultra Champion

you can use | tstats command, for the last 60 minutes every hour

 | tstats count where index = * by host | where count < 100

save as an alert and triger where count = 0

hope it helps

0 Karma

sbattista09
Contributor

need to alert on hosts sending under 100 or so logs per hour.

0 Karma

adonio
Ultra Champion

when you say logs you mean events or source?

0 Karma

sbattista09
Contributor

logs as in events.

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...