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
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...