Splunk Enterprise

how to search host with IP address

brpsingara
Explorer

1) I am using below code to getting all machines list ,

 

| metadata type=host index=* | stats count by host

 

  is possible to get IP address also ? 

2)  Here also I need IP address required,

index=windeventlog sourcetype=winEventLog:Security EventCode=4625
| stats count by Account_Name, EventCode, Workstation_Name
| cort by - count

 

please suggest. 

 

Thanks in advance. 

0 Karma

to4kawa
Ultra Champion

both log doesn't have ip address. you can't.

0 Karma
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...