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

Labels (1)
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
Get Updates on the Splunk Community!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...