Splunk Search

Search to see which forwarders reported in the previous 24 hours or if there is a delay in logs?

kteng2024
Path Finder

Hi there,

is there any query to find out the forwarders which are reporting for last 1 day or f there is a delay in the logs.

Thanks

0 Karma

rphillips_splk
Splunk Employee
Splunk Employee

You can use this search to measure latency in the events which is the difference between when the application wrote the log event timestamp and the time the event was indexed. You can scope the index , host, source etc... if you are interested in the latency from a particular source

index=main | eval delay=_indextime-_time | stats min(delay) avg(delay) max(delay) by host sourcetype source

0 Karma

somesoni2
Revered Legend
0 Karma

lfedak_splunk
Splunk Employee
Splunk Employee

Hey @kteng2024! Don't forget to "accept" answers when someone answers your question. It helps make the answers more useful to others and awards karma points to the people who are helping you out. 🙂

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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