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

How to edit my search to get the average for multiple values each day?

$
0
0
Hi, I have results table like below. How can I combine these multivalues per each day such that need to get single value (average) for each day. Now we can see multiple values listed (since we have four servers, 4 values are displayed) Below is the example we got the results _time rtlvpxaw01 12/6/2015 -177.0167824 -268.4641204 -85.56944444 5.85474537 12/7/2015 100 12/8/2015 97.27893519 97.42939815 97.57986111 97.62962963 We have used this search: index=f5 sourcetype=F5 server* F5_MonitorStatus="monitor status up" | convert num(SiloDownHours) | eval SiloDownHours = SiloDownHours * 3600 | convert num(SiloDownMins) | eval SiloDownMins = SiloDownMins * 60 |convert num(SiloDownSecs) | eval SiloDownTotal = (SiloDownSecs + SiloDownMins + SiloDownHours)/2 |streamstats sum(SiloDownTotal) as SiloDownTotal by F5_apache_host |eval PercentUptime = ((86400 - SiloDownTotal)/86400*100) |timechart span=1d values(PercentUptime) by server|fillnull value=100

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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