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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...