Getting Data In

TRANSFORMS-ROUTING filtering out source address

sbattista09
Contributor

I have set up a TRANSFORMS-ROUTING and it is forwarding data to a 3rd party however, they do not want to see the source address the logs are coming from. Is there a quick way i can remove the source IP form the data being sent over?

the logs look like this-
timestamp 10.10.10.10 logs message blahhh foo blahhh foooooooo blahhh

props-
[host::hostA*]
TRANSFORMS-ROUTING = send_to_party

transforms -
[send_to_party]
REGEX = .
DEST_KEY = _SYSLOG_ROUTING
FORMAT = send_to_party_group_1

outputs-
[syslog:send_to_party_group_1]
server = 10.22.22.22:514
type = udp
syslogSourceType = sourcetype::none

0 Karma

p_gurav
Champion

You can try using SEDCMD in props.conf. Refer below documents:
http://docs.splunk.com/Documentation/Splunk/7.1.1/Admin/Propsconf

0 Karma

sbattista09
Contributor

i should have said we are doing this on a HWF so this wont work because SEDCMD will only work at index time.. right?

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...