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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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