Splunk Search

How to search for empty logfiles?

gmhp
New Member

Is there a search that will warn me of a logfile that is 0 bytes and is not updating?

TIA.

Tags (2)
0 Karma

gfreitas
Builder

Hi gmhp, You can schedule an alert to run a search like "source=" for the last 30 minutes and triger the alert if number of results is equals to 0.

Hope this helps!

0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...