I have a dashboard that uses a search-powered multiselect for user to filter out result, the source code looks like this:
<input type="multiselect" token="emaiLtype" searchWhenChanged="true">
<label>Select one or many email type(s):</label>
<search>
<query>index=applogsprd module=communication | stats count by email_type</query>
</search>
<default>*</default>
<fieldForLabel>email_type</fieldForLabel>
<fieldForValue>email_type</fieldForValue>
<valuePrefix>emaiL_type=</valuePrefix>
<valueSuffix></valueSuffix>
<delimiter> OR </delimiter>
</input>
<chart>
<search>
<query>index=applogsprd sourcetype=advisor:domain module=communication $emailtype$ | stats count(eval(can_send_email="true" and application="monolith")) AS CAN_SEND_MONO, count(eval(can_send_email="true" and application="microservice")) AS CAN_SEND_MS, count(eval(can_send_email="false" and application="monolith")) AS CANNOT_SEND_MONO, count(eval(can_send_email="false" and application="microservice")) AS CANNOT_SEND_MS by email_type</query>
<earliest>1510387200</earliest>
<latest>now</latest>
<sampleRatio>1</sampleRatio>
</search>
However, when the dashboard is up, regardless what value user selected in multiselect, it keeps showing "Search is waiting for input..."
I have another dashboard constructed exactly the same way, and that one works. Any idea that what might go wrong?
... View more