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

change colour of whole panel based on single value result

$
0
0
Hello, I'm creating a dashboard using splunk 6.2.1 which will have multiple single value panels each with a value of YES or NO and a drilldown to a different dashboard. I am able to change the text colour using the "severe" and "low" default classes and also the background colour using the same but I want to change the background of the whole panel instead of the single value component. My xml is: 1 Statusindex=event* sourcetype= CellName= | head 1| eval result=if(PrimaryRunning=="NO" OR SecondaryRunning=="NO","NO","YES") | eval class=if(PrimaryRunning=="NO" OR SecondaryRunning=="NO","severe","low") | table result,class02 Statusindex=event* sourcetype= CellName= | head 1| eval result=if(PrimaryRunning=="NO" OR SecondaryRunning=="NO","NO","YES") | eval class=if(PrimaryRunning=="NO" OR SecondaryRunning=="NO","severe","low") | table result,class03 Statusindex=event* sourcetype= CellName= | head 1| eval result=if(PrimaryRunning=="NO" OR SecondaryRunning=="NO","NO","YES") | eval class=if(PrimaryRunning=="NO" OR SecondaryRunning=="NO","severe","low") | table result,class0 I've gone through the other examples in here and the dashboard examples and couldn't find anything that works. Any help would be appreciated. Thanks!

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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