Dashboards & Visualizations

How to configure a status panel in Splunk dashboard?

chetan022
Engager

How to configure a status panel in Splunk dashboard.

Based on the input dropdown field change[program input] , there should be some indicator which represents the status[Basically representing the overall status of the program].

The indicator can be gauge or similar to radio button showing red/amber/green status and has to be located in the same row as that of input dropdownCapture.JPG

Tags (1)
0 Karma
1 Solution

johnnykhoueiry
Explorer

@chetan022 Unfortunately you cannot add any gauge inside the input panel.

From the Splunk documentation you are only allowed inside the fieldset to use form inputs

johnnykhoueiry_0-1596791171429.png

https://docs.splunk.com/Documentation/Splunk/8.0.5/Viz/PanelreferenceforSimplifiedXML

 

I suggest to create a new row under it and place that Gauge inside it.

 

Please mark it as correct if that helped. Have a nice day 😄 

View solution in original post

0 Karma

johnnykhoueiry
Explorer

Hey @chetan022 only input fields allowed between the <fieldset> </fieldset> nodes.

0 Karma

chetan022
Engager

So We can not add Gauge or any other panel to the same row as that of input dropdown ?

My source code is :

 

<form theme="dark">
<label>SampleDashboard</label>
<fieldset submitButton="false">
<input type="text" token="number" searchWhenChanged="true">
<label>Number</label>
</input>
<input type="dropdown" token="number">
<label>field1</label>
<choice value="30">test1</choice>
<choice value="50">test2</choice>
<choice value="60">test3</choice>
<choice value="90">test4</choice>
</input>
</fieldset>
<row>
<panel>
<chart>
<search>
<query>|makeresults |eval value=$number$ | table value</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<progress>
<eval token="gaugecolor">if($result.value$ == "100","#006600","0xffe800,0xbf3030")</eval>
<eval token="gaugerange">if($result.value$ == "100","0,100","0,".$number$.",100")</eval>
</progress>
</search>
<option name="charting.chart">radialGauge</option>
<option name="refresh.display">progressbar</option>
<option name="charting.chart.rangeValues">[$gaugerange$]</option>
<option name="charting.gaugeColors">[$gaugecolor$]</option>
</chart>
</panel>
</row>
</form>

0 Karma

johnnykhoueiry
Explorer

@chetan022 Unfortunately you cannot add any gauge inside the input panel.

From the Splunk documentation you are only allowed inside the fieldset to use form inputs

johnnykhoueiry_0-1596791171429.png

https://docs.splunk.com/Documentation/Splunk/8.0.5/Viz/PanelreferenceforSimplifiedXML

 

I suggest to create a new row under it and place that Gauge inside it.

 

Please mark it as correct if that helped. Have a nice day 😄 

0 Karma

chetan022
Engager

Thankss for your Help !!!

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...