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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...