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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...