Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How do you find the percent of each srcip within a stats command?

$
0
0
base search | stats values(srcip) as Source count by catdesc Above is my search. The results now yield each category description (catdesc) and lists each srcip for the catdesc. How do I break down each srcip by percent of the toal number of events? I need my table to be: catdesc Source Percent Count Pornography x.x.x.x 25% 200 y.y.y.y 50% z.z.z.z 25% Gaming a.a.a.a 50% 100 b.b.b.b 50% Thanks.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>