Hi team, I have created a dashboard with 8 panels, but it is running extremely extremely slow. how to improve the performance? Here is the XML source: <form>
<label>CAL Template Configuration</label>
<fieldset submitButton="true" autoRun="true">
<input type="time" token="field1">
<label>Please select a time range</label>
<default>
<earliest>@d</earliest>
<latest>now</latest>
</default>
</input>
<input type="dropdown" token="DC">
<label>Please select a data center</label>
<choice value="*">All</choice>
<choice value="DC02">DC02</choice>
<choice value="DC04">DC04</choice>
<choice value="DC08">DC08</choice>
<choice value="DC10">DC10</choice>
<choice value="DC12">DC12</choice>
<choice value="DC15">DC15</choice>
<choice value="DC16">DC16</choice>
<choice value="DC17">DC17</choice>
<choice value="DC18">DC18</choice>
<choice value="DC19">DC19</choice>
<choice value="DC22">DC22</choice>
<choice value="DC23">DC23</choice>
<choice value="DC41">DC41</choice>
<choice value="DC42">DC42</choice>
<choice value="DC44">DC44</choice>
<choice value="DC48">DC48</choice>
<default>*</default>
</input>
<input type="dropdown" token="ENV">
<label>Please select a environment</label>
<choice value="pc">Production</choice>
<choice value="sc">Preview</choice>
<default>pc</default>
</input>
</fieldset>
<row>
<panel>
<title># of Data Source Usage</title>
<chart>
<search>
<query>index=*bizx_application AND (servername=$ENV$* OR host=$ENV$*) AND SFDC=$DC$ AND sourcetype=perf_log_bizx AND ACT=SAVE_CALIBRATION_TEMPLATE AND C_DS
|dedup C_CTID
|eval dataSource=replace(replace(C_DS,"\[",""),"\]","")
|makemv delim="," dataSource | where dataSource!=others
|stats count by dataSource</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.drilldown">none</option>
<option name="refresh.display">progressbar</option>
<option name="charting.chart.showLabels">true</option>
<option name="charting.chart.showPercent">true</option>
</chart>
</panel>
<panel>
<title># of Rating Type Usage</title>
<chart>
<search>
<query>index=*bizx_application AND (servername=$ENV$* OR host=$ENV$*) AND SFDC=$DC$ AND sourcetype=perf_log_bizx AND ACT=SAVE_CALIBRATION_TEMPLATE AND C_RT
|dedup C_CTID
|eval ratingType=replace(replace(C_RT,"\[",""),"\]","")
|makemv delim="," ratingType
|stats count by ratingType</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="charting.chart">pie</option>
<option name="charting.drilldown">none</option>
<option name="refresh.display">progressbar</option>
<option name="charting.chart.showLabels">true</option>
<option name="charting.chart.showPercent">true</option>
</chart>
</panel>
</row>
<row>
<panel>
<title># of Decimal Rating Usage</title>
<table>
<search>
<query>index=*bizx_application AND (servername=$ENV$* OR host=$ENV$*) AND SFDC=$DC$ AND sourcetype=perf_log_bizx AND ACT=SAVE_CALIBRATION_TEMPLATE AND C_RT
|dedup C_CTID
|rex max_match=0 field=C_RT "(?P<ratingEnabled>[^\[,\]]+)"
| mvexpand ratingEnabled
|rex max_match=0 field=C_RTD "(?P<decimal>[^\[,]+)Decimal"
|eval decimaled=if(in(ratingEnabled,decimal), 1,0 )
|stats count sum(decimaled) as decimaledCount by ratingEnabled
|eval ratio%=round(decimaledCount*100/count, 2) |sort - ratio%</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="dataOverlayMode">none</option>
<option name="drilldown">none</option>
<option name="refresh.display">progressbar</option>
</table>
</panel>
<panel>
<title># of Guideline Rating Usage</title>
<table>
<search>
<query>index=*bizx_application AND (servername=$ENV$* OR host=$ENV$*) AND SFDC=$DC$ AND sourcetype=perf_log_bizx AND ACT=SAVE_CALIBRATION_TEMPLATE AND C_RT
|dedup C_CTID
|rex max_match=0 field=C_RT "(?P<ratingEnabled>[^\[,\]]+)"
|mvexpand ratingEnabled
|rex max_match=0 field=C_RTG "(?P<guideline>[^\[,]+)Guideline"
|eval guided=if(in(ratingEnabled,guideline), 1,0 )
|stats count sum(guided) as guidedCount by ratingEnabled
|eval ratio%=round(guidedCount*100/count, 2) | sort - ratio%</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="dataOverlayMode">heatmap</option>
<option name="drilldown">none</option>
<option name="refresh.display">progressbar</option>
</table>
</panel>
</row>
<row>
<panel>
<title># of Advanced Option Usage</title>
<table>
<search>
<query>index=*bizx_application AND (servername=$ENV$* OR host=$ENV$*) AND SFDC=$DC$ AND sourcetype=perf_log_bizx AND ACT=SAVE_CALIBRATION_TEMPLATE AND C_OA
|dedup C_CTID
|eval advancedOptions=replace(replace(C_OA,"\[",""),"\]","")
|makemv delim="," advancedOptions
|stats count by advancedOptions</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="dataOverlayMode">heatmap</option>
<option name="drilldown">none</option>
<option name="refresh.display">progressbar</option>
</table>
</panel>
<panel>
<title># of enabled user fields on List View</title>
<table>
<search>
<query>index=*bizx_application AND (servername=$ENV$* OR host=$ENV$*) AND SFDC=$DC$ AND sourcetype=perf_log_bizx AND ACT=SAVE_CALIBRATION_TEMPLATE AND C_FL
|dedup C_CTID
|eval userFields=replace(replace(C_FL,"\[",""),"\]","")
|makemv delim="," userFields
|stats count by userFields</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="dataOverlayMode">heatmap</option>
<option name="drilldown">none</option>
<option name="refresh.display">progressbar</option>
</table>
</panel>
</row>
<row>
<panel>
<title>Buckets Number of Bin View</title>
<table>
<search>
<query>index=*bizx_application AND (servername=$ENV$* OR host=$ENV$*) AND SFDC=$DC$ AND sourcetype=perf_log_bizx AND ACT=SAVE_CALIBRATION_TEMPLATE AND C_BN
| dedup C_CTID
| rex field=C_BN max_match=0 "(?P<bin>\w+):(?P<buckets>\d+)"
| eval zip=mvzip(bin, buckets)
| mvexpand zip
| eval split=split(zip,",")
| eval bin=mvindex(split,0), buckets=mvindex(split,1)
| stats count by bin, buckets</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="dataOverlayMode">heatmap</option>
<option name="drilldown">none</option>
<option name="refresh.display">progressbar</option>
</table>
</panel>
<panel>
<title>Scale Type of Matrix View</title>
<table>
<search>
<query>index=*bizx_application AND (servername=$ENV$* OR host=$ENV$*) AND SFDC=$DC$ AND sourcetype=perf_log_bizx AND ACT=SAVE_CALIBRATION_TEMPLATE AND C_BM
| dedup C_CTID
| rex field=C_BM max_match=0 "(?P<matrix>\w+\*\w+):(?P<buckets>\d+\*\d+)"
| eval zip=mvzip(matrix, buckets)
| mvexpand zip
| eval split=split(zip,",")
| eval matrix=mvindex(split,0), buckets=mvindex(split,1)
| stats count by matrix, buckets</query>
<earliest>$earliest$</earliest>
<latest>$latest$</latest>
</search>
<option name="dataOverlayMode">heatmap</option>
<option name="drilldown">none</option>
<option name="refresh.display">progressbar</option>
</table>
</panel>
</row>
</form>
... View more