Splunk Search

Search to find Log Sources not reporting

lohit
Path Finder

Hello everyone,

I have around 20 forwarders (Universal) in my env and configued to forward data to Splunk Indexer. I would like to create a report which can show which all log sources have not reported for a specific time(say for last 3 days).

Please help me in this.

Tags (1)
0 Karma

kristian_kolb
Ultra Champion

Run the Deployment Monitor App. It will a) tell you, and b) let you configure alerting quite easily.

Otherwise you can do something like this;

| metadata type=sourcetypes | append  [|metadata type=sources] | append [|metadata type=hosts] 
| eval name=coalesce(source, sourcetype, host) 
| fields + recentTime name type 
| where recentTime < now()-10*86400 
| convert ctime(recentTime) | 

Just substitute the 10*86400 to whatever timespan you like - in this case it's 10 days ago.

/K

Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...