Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Calculating percentages for source and destination IP data by source count and then by source-destination pair

$
0
0

Good Day!

Given the following data...

srcdst
1.2.3.49.8.7.6
1.2.3.49.8.7.6
1.2.3.49.8.7.6
4.3.2.16.7.8.9
1.2.3.45.6.7.8

I'd like to display a table showing the percentage of events by src and then breakdown this further by displaying the percentage of total events by src-dst pair...

The results would like like...

srcsrc %dst - dst %
1.2.3.480%9.8.7.6 60%
5.6.7.8 20%
4.3.2.120%6.7.8.9 20%

Any help would me much appreciated.

Thanks.


Viewing all articles
Browse latest Browse all 13053

Trending Articles



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