Getting Data In

Resolving IP in other fields

adriangoodhead7
Explorer

I've managed to get my apache access logs into Splunk, and configured it to resolve the ip address in the client IP field. I have also captured some network traffic via wireshark and imported via .cvs file to splunk. I would like to work out how to resolve the ip address that is in the destination field.

Any help would be appreciated, as i'm new to splunk.

0 Karma

adriangoodhead7
Explorer

Boom got it, just added the following to props.conf

[csv]
LOOKUP-rdns = dnsLookup ip AS Destination OUTPUTNEW host AS hostname

yannK
Splunk Employee
Splunk Employee

you can accept your own answer 🙂

0 Karma

adriangoodhead7
Explorer

I've tried adding "Destination" to C:\Program Files\Splunk\etc\system\local\transforms.conf

dnsLookup]
external_cmd = external_lookup.py host ip Destination
fields_list = host, ip, Destination

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...