Splunk Enterprise

Tagging Heavy Forwarders

jotne
Builder

This is a tip, not a question😃

When you have a large solution, you can see on the log data: what the UF name that data comes from, what Index server data are stored on.  What you do not see are what Heavy Forwarders data are passing trough.  Here is an app that do just that.  Adding an extra field does not use extra license, since only _raw length are calculated.

Make an app that you sends to all HF servere:

app name: set_name_gateway_hf

props.conf (will apply to all data)

 

 

[source::...]
TRANSFORMS_set_hf_server_name = set_hf_server_name

 

 

transforms.conf

 

 

[set_hf_server_name]
INGEST_EVAL = splunk_hf_name := splunk_server

 

 

This will use the Splunk HF server name from etc/system/local/server.conf

Labels (2)
Get Updates on the Splunk Community!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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