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

Simple xml : I want to create cool single value display html

$
0
0
-24h@hnow
| makeresults count=2 | streamstats count | eval _time = if (count==2,relative_time(_time,"-2h@m"), relative_time(_time,"@m")) | makecontinuous span=1m _time | eval count=random() % 200 | timechart span=10m sum(count) as PerfMon | streamstats list(PerfMon) as PM window=4 | eval PM_30min=if(mvcount(PM)==4,mvindex(PM,0),NULL) | reverse | table _time PerfMon PM_30min |head 1|eval range=if(PerfMon / PM_30min > 2 OR PerfMon / PM_30min < 0.5 , "#FF0000" , "#008000")-24h@hnow$result.PerfMon$$result.range$

<br/> $value$

Hi, folks. I am trying to create a dashboard that displays a single value. (Splunk ver 8.0.1) I am trying to change the font color when there is more than 50% difference from the previous value. Since `rangemap` doesn't work well, I gave up single value dashboard. I tried to make it but it doesn't look **cool**. Please let me know if there is a good way to change the background color, font color, or display method.

Viewing all articles
Browse latest Browse all 47296


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