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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...