I have 4 panels.
****Code ::
//1st Panel//
<table>
<search id="dms2">
<query><somesearch>| chart count over Validation by Status</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<done>
<eval token="dms01">false</eval>
</done>
<progress>
<condition match="$result.Good$ < 7">
<set token="dms01">true</set>
</condition>
</progress>
</search>
........
.......
</table>
</panel>
//2nd panel//
<table>
<search id="dms3">
<query><somesearch> | fields ErrValidation</query>
<earliest>-15m</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
.........
.........
</table>
</panel>
//3rd Panel//
<table>
<search id="dms4">
<query>|stats count</query>
<earliest>-15m</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
<option name="count">10</option>
<option name="drilldown">cell</option>
<option name="refresh.display">progressbar</option>
<format type="color" field="Status">
<colorPalette type="map">{"No Error":#FFFFFF}</colorPalette>
</format>
</table>
</panel>
Hi
Check this sample, it will show third panel only if temp<=10 in 1st panel and errorcount =0 in second panel. I guess with this you can build your logic
<dashboard>
<label>panel</label>
<row>
<panel>
<table>
<search>
<query>|makeresults |eval temp=10</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<done>
<condition match="'result.temp'<=10">
<set token="show1">true</set>
</condition>
<condition>
<unset token="show1"></unset>
</condition>
</done>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
<row>
<panel>
<table>
<search>
<query>|makeresults |eval errorcount=0</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<done>
<condition match="'result.errorcount'=="0"">
<set token="show2">true</set>
</condition>
<condition>
<unset token="show2"></unset>
</condition>
</done>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
<row depends="$show1$,$show2$">
<panel>
<table>
<search>
<query>|makeresults |eval temp=0</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
</dashboard>
Hi
Check this sample, it will show third panel only if temp<=10 in 1st panel and errorcount =0 in second panel. I guess with this you can build your logic
<dashboard>
<label>panel</label>
<row>
<panel>
<table>
<search>
<query>|makeresults |eval temp=10</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<done>
<condition match="'result.temp'<=10">
<set token="show1">true</set>
</condition>
<condition>
<unset token="show1"></unset>
</condition>
</done>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
<row>
<panel>
<table>
<search>
<query>|makeresults |eval errorcount=0</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
<done>
<condition match="'result.errorcount'=="0"">
<set token="show2">true</set>
</condition>
<condition>
<unset token="show2"></unset>
</condition>
</done>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
<row depends="$show1$,$show2$">
<panel>
<table>
<search>
<query>|makeresults |eval temp=0</query>
<earliest>-24h@h</earliest>
<latest>now</latest>
</search>
<option name="drilldown">none</option>
</table>
</panel>
</row>
</dashboard>
Thanx man !!! Big help 🙂
Welcome 🙂