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!

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...

New Splunk Innovations Enhance Performance and Accelerate Troubleshooting

Splunk is excited to announce new releases that empower ITOps and engineering teams to stay ahead in ever ...