I have a dashboard that gets its base query from a dropdown option and that to run that base query takes the values from other dropdown and populate it and then run the search. this is a part of the query: <input type="dropdown" token="tokSearchOption1" searchWhenChanged="true"> <label>Select Query</label> <choice value="Orginal">Original</choice> <choice value="Filtered">Filtered</choice> <change> <condition value="Orginal"> <set token="tokSearchQuery">index=pos | fields host,_raw | rex field=host "REG(?<store_id>\d{1,4})(?<register_id>\d{1,2})"| search store_id="$store_id$" AND register_id="$register_id$" where store_id and register_id values are rendered from another dropdown. But when we 1st time hit the submit in the dashboard the query shows no result and this is due to the fact that it is not able to render the dropdown values from other ie. it is not taking the value from the store_id dropdown and the register id dropdown. This happens just for the 1st time the dashboard is loaded but then after on it works fine! How to fix the issue?
... View more