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!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...