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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...