Splunk Search

To get IP counts by no of occurence

naval1992
Engager

I have a query which can give DIfferent IPS that are hitting to the top URI's 

source= some source 404 | stats count values(Real_IP) as Real_IP by URI | sort - count

naval1992_0-1601376004310.png



I want to know out of these given IP's which IP occurred how many times in the same formate and in the same query  

Labels (4)
Tags (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
source= some source 404 | stats count by URI Real_IP | sort - count

naval1992
Engager

It looks good but through this Query i will not get the URI no of occurrences as in my search query i was getting is there any way this query can fit in my search query 

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Totals as an extra column on each row

source= some source 404 | stats count by URI Real_IP 
| eventstats sum(count) as Total by URI
| sort - Total

 

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...