Getting Data In

How to add prefix string to events before forwarding to external server?

Zanusha443
Explorer

Hi everybody,

I would like to duplicate data coming from my sourcetype in such a way:

- send the original data to Splunk for indexing.

- send the duplicated events to an external server with "<DNS>" prefix string.

How should I modify the transform.conf file in order to do that?

Another question: is there a better way to forwards logs to external server while keeping the original source  host (source IP) instead of adding prefixes like what I'm trying to do. 

Thanks in advance,

Angelo

Labels (3)
Tags (2)
0 Karma
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...