Getting Data In

Find source types from UF to HF...

cpraz_ord
Explorer

Hi all...one of my Heavy Forwarders is relaying much data, we are using it for an intermediate forwarding tier to Splunk Cloud. Many UFs are sending to this HF.

I need to run a search to find what source types the Universal Forwarders are sending to this Heavy Forwarder.

The Heavy forwarder is not running in preview mode. I've run plenty of searches that report both UF/HF activity to the SH....but I really want to understand what is going to this HF without bouncing it and putting it in local indexing/preview mode.

Thanks for any input...!

0 Karma

jajung
Splunk Employee
Splunk Employee

Hi cpraz_ord,

I've got a couple of queries that I like to use for this exact purpose. This is under the assumption that you are forwarding all logs from your on-premise HF into the cloud. It’s not automatic, but you’d start by looking at the _internal index.

This will give you a list of all the sourcetypes that the HF has handled.

index=_internal sourcetype=splunkd host=<heavyforwardername> group=per_sourcetype_thruput | stats values(series)

This will give you a list of all the indexes that the HF has handled.

index=_internal sourcetype=splunkd host=<heavyforwardername> group=per_index_thruput | stats values(series)

That’ll return all the hosts pushing data through the HF.

index=_internal sourcetype=splunkd host=<heavyforwardername> group=per_host_thruput | stats values(series)

Of course, you can use other combinations of | stats to get the formatting you desire, but these are the best starting points to help you start looking in the right places.

edit

I've refined the search a little for you to help you find which of the sourcetypes are the noisiest:

index=_internal sourcetype=splunkd host=<heavyforwardername> group=per_sourcetype_thruput 
|  stats avg(kbps) as kbps by series
|  sort -kbps

Good luck!

0 Karma

p_gurav
Champion

Is HF internal logs are being forwarded to Splunk indexer?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...