Splunk Search

Some hosts come in as IP some as hostname easy way to make searching easier?

Pierceyuk
Path Finder

Hey, So we have a few hundred hosts coming in, some come in as dns hostname, some come in as IP address.

What is the best practice for dealing with this? Make everything IP or hostname?

Is it possible to add an IP and hostname to all these records via some lookup? Or should I 'decide' on either hostnames or IP addresses and try to get everything set the same?

Thanks,
Pierce

Tags (3)
0 Karma
1 Solution

somesoni2
Revered Legend

Best approach will be have your forwarder configured to send in one format. If its not easy, then you can use dns lookup feature in splunk to convert all to one type, either hostname or IP, up to you. For reference see this: http://answers.splunk.com/answers/8051/dns-lookup-via-splunk

View solution in original post

somesoni2
Revered Legend

Best approach will be have your forwarder configured to send in one format. If its not easy, then you can use dns lookup feature in splunk to convert all to one type, either hostname or IP, up to you. For reference see this: http://answers.splunk.com/answers/8051/dns-lookup-via-splunk

Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...