Splunk Cloud Platform

Splunk Cloud: How to track sources on Splunk Cloud searchead coming from different intermediate forwarder?

singhdb
New Member

Platform: Splunk Cloud

Problem statement illustration:

we have 4 intermediate forwarders, and more than 2500 universal forwarders are routing data to these four IFWs.

 

UF (700)----> IFW1------>Splunk cloud

UF (600)----> IFW2------>Splunk cloud

UF (700)----> IFW3------>Splunk cloud

UF (500)----> IFW4------>Splunk cloud

What is needed: How a splunk admin/power user can create a dashboard or fetch information from searchead that which are all sources being routed to splunk cloud through each IFW

query should list the universal forwarder hostname and respective ifw from where it getting routed to splunk cloud

Any lead on this

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

By default, intermediate forwarders (IFs) are invisible.  There is nothing that says which IF an event passed through (or even *if* an IF was involved at all).

To work around that, you will have to add configs to your IFs to have them add a field to every event.  That field would identify which IF processed the event.  One way to do it is to add _meta = forwarder::foo to the IF's inputs.conf file.  This line assigns the value "foo" to the field "forwarder".  You can change "forwarder" to any field you wish.  Of course, you must change "foo" to the actual name of the forwarder.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...