Splunk Search

Can I return the host IP address in WinEventLog metadata search?

lball
Explorer

I'm trying to use a metadata search to quickly return the hosts that are currently sending logs to Splunk to determine if we are missing any logs. Here is the current search:

| metadata type=hosts index=wineventlog | table host

Is there a way to also return the IP address of the host from the metadata search?

0 Karma

Vijeta
Influencer

Use this-

| metadata type=hosts index=wineventlog | table host| lookup dnslookup clienthost AS host

Also this documentation will be helpful
http://docs.splunk.com/Documentation/Splunk/6.2.1/Knowledge/Addfieldsfromexternaldatasources#Externa...

0 Karma

lball
Explorer

I tried this search string, but I got an empty clientip field added to the table...not exactly why it's not returning the IP values. No error is shown...

0 Karma

dyeo
Engager

same for me... the clientip field is empty

0 Karma
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 ...