All Apps and Add-ons

How to report on how many deployed hosts are actually forwarding data, and if not, report when they last sent data?

cbright
Explorer

For instance I have 1400 forwarders with the Windows TA app deployed but am trying to find which ones are not reporting at all and how many stopped reporting in the last few days.

wrangler2x
Motivator

I use this search to check my forwarders every day.

index="summary_forwarders" NOT sourceHost="127.0.0.1" | stats count by sourceHost sourceIp connectionType version build lastConnected  | eval lastConnected=strftime(lastConnected,"%m/%d/%Y %H:%M:%S") | fields sourceHost sourceIp connectionType version build lastConnected | dedup 1 sourceHost sortby -lastConnected | eval sourceHost=lower(sourceHost) | sort sourceHost

I always make a note of the count. If in a subsequent day I see a lower count, I know something has gone missing.

0 Karma

raja8220
New Member

I dont have the summary_forwarders index ?

0 Karma

dflodstrom
Builder

Good question! Relying on the forwarder management dashboards isn't practical.

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 ...