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

Calculate Percentage Difference Between Two Searches

$
0
0

When running a single search on bandwidth data I can calculate the percentage between bandwidth In and Out using this eval fucntion:

| eval percent_difference=((BandwidthIn/BandwidthOut)*100) | table percent_difference _time

What I want to do is calculate the percentage change between bandwidth over a 5/minute time span. For example, lets assume I'm seeing 100/mbps of bandwidth at 12:00p Noon and at 12:05p the bandwidth jumps to 125/mbps. How can I calculate the 25% increase in bandwidth between those two timespans/searches?


Viewing all articles
Browse latest Browse all 13053

Trending Articles



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