Monitoring Splunk

Log sources not reporting

sahildb
Engager

Currently our index= windows host not reporting from last couple of days.

 

Need query to set up alert if log sources are not reporting to splunk.

Labels (1)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @sahildb,

You can use below query to find hosts that is not reporting for 60 minutes by host, index and sourcetype.

| tstats max(_time) as _time where index=* by index host sourcetype | where _time < relative_time(now(),"-60m")

 You can adapt 60 minutes timeout and indexes to your need. 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @sahildb,

You can use Broken Hosts app to monitor your data ingestion problems,

https://splunkbase.splunk.com/app/3247/

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

sahildb
Engager

Is there any query we can use to detect ?

0 Karma

sahildb
Engager

Thanks for the solution i think will recommend the same to team.

 

 

0 Karma

sahildb
Engager

Need to verify and set up alert which index generate data and or not and how we can monitor

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...