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

How can i do round in stats statement

$
0
0
Here is what i have index="docker" (env = region1 OR env = region2) "job-time" |eval time_in_mins = ('time')/(1000*60) | stats avg(time_in_mins) as Time by env How can I round the average to 2 decimals and then show by env ? Tried this but doesnt work stats eval(round(avg(time_in_mins),2)) as Time by env

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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