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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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