Splunk Search

How can I see all forwarders deployed in the Distributed Management Console and in a search from internal metrics log?

brian1_tate
Path Finder

I am confused here. I work with a massive distributed environment and I want to see ALL of our thousands of forwarders in the Distributed Management Console (DMC), however the count doesn't seem to match the search I ran from the internal index and shows FAR more forwarders than the DMC. What am I missing here?

index=_internal sourcetype=splunkd destPort!="-"| stats sparkline count by hostname, sourceHost, host, destPort, version | dedup hostname | rename destPort as "Destination Port" | rename host as "Indexer" | rename sourceHost as "Forwarder IP" | rename version as "Splunk Forwarder Version" | rename hostname as "Forwarder Host Name" | rename sparkline as "Traffic Frequency" | sort - "Forwarder IP"
0 Karma

ddrillic
Ultra Champion

Brian,

I would base everything according to the serverclass.conf. Meaning I would correlate what the index=_internal query brings and the DMC query brings over and try to match it with serverclass.conf. Unfortunately the software doesn't do it for us at the moment.

One way to approach it would be to use a similar query for missing forwarders as in the DMC -

| inputlookup dmc_forwarder_assets
| search status="missing" 
| rename hostname as Instance

But, produce the lookup based on the serverclass.conf data.

Cheers

0 Karma

hunters_splunk
Splunk Employee
Splunk Employee

Hi Brian,

The forwarders you see in the DMC include all current and historical forwarders - active, inactive, and missing (received data from this forwarder before but it is not currently existing any more). Please just filter the listed forwarders by status and see if ACTIVE forwarders match the number you come up with using the search command.

Hope it helps. Thanks!
Hunter

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...