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!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...