Hi,
Thanks for the prompt response.
Below is the XML code. Please be noted that the one highlighted in bold is experimental... ()
Report
usage
<input type="time" searchWhenChanged="false">
<label>Select a time:</label>
<default>Last 24 hours</default>
</input>
<input type="dropdown" token="environment" searchWhenChanged="false">
<label>Environment</label>
<fieldForLabel>environment</fieldForLabel>
<fieldForValue>environment</fieldForValue>
<search>
<query>sourcetype="sample"|eval env=case(match(host,"AB.*"),"Production", match(host,"ab.*"),"Production", match(host,"CD.*"),"Test", match(host,"cd.*"),"Test", match(host,"EF.*"),"Sales", match(host,"ef.*"),"Sales") | dedup env | table env</query>
</search>
<default>Production</default>
</input>
<input type="text" token="type" searchWhenChanged="false">
<label>Request Type</label>
</input>
<input type="text" token="type2" searchWhenChanged="false">
<label>Company</label>
</input>
<panel depends="$env$">
<title></title>
<table>
<search>
<query>sourcetype="sample" $env$....</query>
<sampleRatio>1</sampleRatio>
</search>
<option name="count">20</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">row</option>
<drilldown>
<!-- Use set to specify the new token to be created.
Use any token from the page or from the click event to produce the value needed. -->
<set token="type">$row.type$</set>
<!-- If we also set the form.sourcetype the input will get updated too -->
<set token="form.type">$row.type$</set>
</drilldown>
<option name="percentagesRow">false</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
</panel>
**<panel depends="$type$,$env$">**
<title></title>
<table>
<search>
<query>sourcetype="perf_log_bizx" $env$|....</query>
<sampleRatio>1</sampleRatio>
</search>
<format type="color" field="field1">
<colorPalette type="list">[#FFFF99,#3CB371,#F08080]</colorPalette>
<scale type="threshold">2,6,10000</scale>
</format>
<format type="color" field="field2">
<colorPalette type="list">[#FFFF99,#3CB371,#F08080]</colorPalette>
<scale type="threshold">2,6,10000</scale>
</format>
<format type="number" field="field3">
<option name="precision">0</option>
<option name="useThousandSeparators">true</option>
</format>
<option name="count">20</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">row</option>
<drilldown>
<!-- Use set to specify the new token to be created.
Use any token from the page or from the click event to produce the value needed. -->
<set token="type2">$row.type2$</set>
<!-- If we also set the form.sourcetype the input will get updated too -->
<set token="form.type2">$row.type2$</set>
</drilldown>
<option name="percentagesRow">false</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
</panel>
<panel depends="$type2$,$env$">
<title></title>
<table>
<search>
<query>sourcetype="perf_log_bizx" $env$|....</query>
<sampleRatio>1</sampleRatio>
</search>
<format type="color" field="field1)">
<colorPalette type="list">[#FFFF99,#3CB371,#F08080]</colorPalette>
<scale type="threshold">2,6,10000</scale>
</format>
<format type="color" field="field2">
<colorPalette type="list">[#FFFF99,#3CB371,#F08080]</colorPalette>
<scale type="threshold">2,6,10000</scale>
</format>
<format type="number" field="field3">
<option name="precision">0</option>
<option name="useThousandSeparators">true</option>
</format>
<option name="count">20</option>
<option name="dataOverlayMode">none</option>
<option name="drilldown">cell</option>
<option name="percentagesRow">false</option>
<option name="rowNumbers">false</option>
<option name="totalsRow">false</option>
<option name="wrap">true</option>
</table>
</panel>
... View more