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!

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...