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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...