Getting Data In

How to create a new field and assign the hostname field using IP address

martinnepolean
Explorer

Hi All,

We are getting data from an application server for all servers and we are getting the IP address in dest_ip field. Now we like to exclude the servers from Linux and it would be difficult to use an IP address to filter the event. So we are looking for a way to perform DNSlookups and assign the hostname in the new field so that I can easily exclude it using regex. Please let me know how to create a new field and assign the hostname into it.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

I believe the OP wants to do DNS lookups at index time, not search time.

---
If this reply helps you, Karma would be appreciated.
0 Karma

martinnepolean
Explorer

Yeah, I like to perform dns lookup at index time

0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...