I'm using advanced XML and I have two panels. One panel will have two submitButton modules with HiddenSearch modules inside it. So, that upon clicking a button the search gets executed and the chart will be displayed in the second panel. Now, if I click other button, it has to run the corresponding search and in the second panel the previous chart should be replaced by this new chart. How to do it?
I tried by putting searches inside button, but upon clicking two buttons the charts are showing one below the other in the second panel. The first chart is not getting replaced by the second, instead it is getting appended. Is there a way to solve it? and here is the code of my dashboard :
<view template="dashboard.html">
Fab Operator New
*
2
False
rt
rt
sourcetype="EDA_XML" TR | xmlkv | search GasPressureLine2="*" | stats avg(GasPressureLine2) as myCount | gauge myCount 750 1000 1250 1500
radialGauge
Gas Pressure Line 2
[0,3000,4000,5000]
minimal
[0x84e900,0xffe800,0xbf3030]
130px
130px
rt
rt
sourcetype="EDA_XML" TR | xmlkv | search GasPressureLine2="*" | stats avg(GasPressureLine2) as myCount | gauge myCount 750 1000 1250 1500
fillerGauge
Gas Supply Level
[0,3000,4000,5000]
[0x84e900,0xffe800,0xbf3030]
minimal
130px
130px
More Details
False
sourcetype="EDA_XML" TR | xmlkv | search GasTemperature="*" | timechart values(GasPressureLine2)
line
Gas Pressure Line 2
More Details
False
sourcetype="EDA_XML" TR | xmlkv | search GasTemperature="*" | timechart values(GasSupplyLevel)
line
Gas Supply Level
... View more