Here is my full XML. Kindly review and help!
<form>
<label></label>
<fieldset submitButton="false">
<input type="text" token="rpt_nm" searchWhenChanged="true">
<label>Report</label>
<default>*</default>
<change>
<unset token="type1_tok"></unset>
</change>
</input>
<input type="text" token="rsp_tm" searchWhenChanged="true">
<label>Slower than (Milliseconds)</label>
<default>0</default>
<change>
<condition match="isnum($value$)">
<eval token="new_token1">round($value$)</eval>
<unset token="type1_tok"></unset>
</condition>
</change>
</input>
</fieldset>
<row>
<panel>
<title>Sample Report</title>
<table>
<search>
<query>index=testing2 sourcetype=manual_upload2 rpt_nm="$rpt_nm$" rsp_tm>=$rsp_tm$ | eval LESS30SEC=if(rsp_tm<=30000,1,0) | eval BET3060SEC=if(rsp_tm>30000 AND rsp_tm<=60000,1,0) | eval BET60300SEC=if(rsp_tm>60000 AND rsp_tm<=300000,1,0) | eval GRT300S=if(rsp_tm>300000,1,0) | stats count, sum(LESS30SEC) as cntLESS30SEC, sum(BET3060SEC) as cntBET3060SEC, sum(BET60300SEC) as cntBET60300SEC, sum(GRT300S) as cntGRT300S, count by rpt_nm, usr | stats list(rpt_nm) as "ReportName", list(count) as "Count by Report", list(cntLESS30SEC) as "<30s", list(cntBET3060SEC) as "30s-60s", list(cntBET60300SEC) as "60s-300s", list(cntGRT300S) as ">300s" by usr | rename usr as "User", rpt_nm as "ReportName"
</query>
</search>
<option name="wrap">true</option>
<option name="rowNumbers">false</option>
<option name="dataOverlayMode">none</option>
<option name="count">10</option>
<option name="drilldown">cell</option>
<drilldown>
<condition field="User"></condition>
<condition field="ReportName"></condition>
<condition field="Count by Report"></condition>
<condition field="<30s" match=" $click.name2$ == <30s">
<set token="test">$click.name2$</set>
<set token="rpt_nm_tok">$row.ReportName$</set>
<set token="y_axis_tok">$click.value$</set>
<eval token="new_token">mvindex($row.ReportName$,0)</eval>
<set token="type1_tok">rsp_tm<30000</set>
</condition>
<condition field="30s-60s" match=" $click.name2$ == 30s-60s">
<set token="test">$click.name2$</set>
<set token="rpt_nm_tok">$row.ReportName$</set>
<set token="y_axis_tok">$click.value$</set>
<eval token="new_token">mvindex($row.ReportName$,0)</eval>
<set token="type1_tok">rsp_tm>30000 rsp_tm<=60000</set>
</condition>
<condition field="60s-300s">
<set token="test">$click.name2$</set>
<set token="y_axis_tok">$click.value$</set>
<set token="rpt_nm_tok">$row.ReportName$</set>
<eval token="new_token">mvindex($row.ReportName$,0)</eval>
<set token="type1_tok">rsp_tm>60000 rsp_tm<=300000</set>
</condition>
<condition field=">300s" match=" $click.name2$ == >300s">
<set token="test">$click.name2$</set>
<set token="rpt_nm_tok">$row.ReportName$</set>
<set token="y_axis_tok">$click.value$</set>
<eval token="new_token">mvindex($row.ReportName$,0)</eval>
<set token="type1_tok">rsp_tm>300000</set>
</condition>
</drilldown>
</table>
</panel>
</row>
<row depends="$type1_tok$">
<panel>
<title>Report: $rpt_nm_tok$ - Y Axis: $y_axis_tok$ - $new_token$</title>
</panel>
</row>
</form>
... View more