Splunk Enterprise Security

Calculate Percentage of Packets

abhik1501
New Member

So i have a splunk query that returns the below output

IP Packets
1.1.1.1 100
1.1.1.2 200
400
200
1.1.1.3 100
100
100
200
400
200
200
400
But i want to know what is the percentage of each packet size per IP

0 Karma

Sukisen1981
Champion

What is the desired output?
for ip 1.1.1.1 its 100/100=100%
and for 1.1.1.2 for the first row it is 200/800=25%?

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...