Getting Data In

How can I find out how often the forwarders are sending their logs to indexers?

rodneymitch80
Explorer

How can I find out how often the forwarders are sending their logs to indexers? How to search in splunk enterprise

 

Thanks,

RPM

Labels (1)
Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @rodneymitch80,

the first check to perform is surely the one hinted by @richgalloway ,

then you could run a search to understand the delay between timestamp and indextime:

index=*
| eval delta=_indextime-_time
| stats max(delta) AS max min(delta) AS min avg(delta) AS avg BY host

or

index=*
| bin span=1h _indextime
| eval delta=_indextime-_time, indextime=strftime(_indextime,"%Y-%m-%d %H:%M:%S")
| stats max(delta) AS max min(delta) AS min avg(delta) AS avg BY host indextime

Ciao.

Giuseppe

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Check inputs.conf. 

If the stanza name begins with monitor:// or WinEventLog:// then the log is forwarded whenever new data is detected (almost immediately).  The UF's own logs are processed by a monitor stanza.

if the stanza name begins with script:// then data will be forwarded according to the interval= setting (default is 60 seconds).

There are other stanza types, but these are most common for forwarding logs.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...