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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...