Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to get a percentage calculation ?

$
0
0
I am writing a query which is going to a scheduled report. I have 3 servers/hosts (serv1, serv2, serv3) whose average response time i am calculating like this, timechart span=1d eval(round(avg(req_time_seconds),2)) as avgresponse_time by host I am looking for an output that should do a comparison of serv1 with other two and give me a result like below, Serv1's avg_resp_time is 20 % higher than Serv2 Serv1's avg_resp_time is 10 % higher than Serv3 something like this.. I don't want an absolute value but a percent value and how much it is higher than Serv1.

Viewing all articles
Browse latest Browse all 47296

Latest Images

Trending Articles



Latest Images

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