Getting Data In

Splunk receive log question

peterchow
Explorer

Dear all,

I am trying to use third party tools to centralize all the log and forward the log to Splunk. Because of some reason, I need to use this third tool instead of Splunk forwarder.

I success to forward the log to Splunk. However, I find there is two host in the log. one of the IP is forwarder IP.

Example
host: 1.1.1.1 <- forwarder IP
2.2.2.2 <- real IP

May I know is it possible to remove the forwarder IP from the log through Splunk?

Thanks

Tags (1)
0 Karma

peterchow
Explorer

I use logstash to forward log to splunk through udp 514. sourcetype is syslog. the following is the sample log

alt text

According to the log, in the host field, there is two value. the upper one is forwarder, the other one is original host ip. All the event have this problem.

So i want to know is it possible to remove the forwarder address through splunk

0 Karma

FrankVl
Ultra Champion

I think you'll need to provide a bit more detail on how you get the data in (share relevant parts from your inputs.conf for example, what sourcetype(s) is/are used...) and what the data really looks like before anyone can provide a good answer to that question.

Is the host field multi valued, or do some events get the forwarder IP and other events the original host IP?

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...