Getting Data In

How to add host name in event ?

kml_uvce
Builder

I am forwarding data from indexer to heavy forwarder How I can append host name in event (_raw) in indxer that will be forwarded to heavy forwarder ?

Tags (1)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

Can you explain why you are doing this ? What is the heavy forwarder sending to ?

If you want to export data, use a scheduled search to export search results formated as you wish

View solution in original post

0 Karma

yannK
Splunk Employee
Splunk Employee

Can you explain why you are doing this ? What is the heavy forwarder sending to ?

If you want to export data, use a scheduled search to export search results formated as you wish

0 Karma

yannK
Splunk Employee
Splunk Employee

if the answer suits you, you can accept it.

0 Karma

yannK
Splunk Employee
Splunk Employee

Here is the method to add any metadata (like host) in the events.
Do that at the indexer level (during index time)

http://splunk-base.splunk.com/answers/40848/how-can-i-rewriteadd-info-from-metadata-to-the-contents-...

0 Karma

kml_uvce
Builder

The actual scenario is like this: I am sending data like this...

universalforwarder -> indexer -> Heavy forwarder -> Syslog-ng server

How Can I get Universal forwarder machine address in Syslog-ng server.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Future of Data Search & Exploration

You have more data coming at you than ever before. Over the next five years, the total amount of digital data ...

What’s new on Splunk Lantern in August

This month’s Splunk Lantern update gives you the low-down on all of the articles we’ve published over the past ...

This Week's Community Digest - Splunk Community Happenings [8.3.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...