Splunk Enterprise Security

how do i get complete list of ip address ? is there any query ?

naveenyadav99
Explorer

i need to create a dashboard with complete information of IP address

0 Karma

kmorris_splunk
Splunk Employee
Splunk Employee

If you are just trying to get a distinct list of all IPs in your data, then you could do something simple like:

YOUR BASE SEARCH |
| eval allips = coalesce(src_ip,dest_ip) 
| stats count by allips 
| fields - count

This is an example giving a unique list of all IPs that showed up in the two fields in the coalesce command. Coalesce merges the fields specified into the field you create in the eval.

Get Updates on the Splunk Community!

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...