Hi,
We have created a dashboard with six panels and two common input field (Text input and Time picker input) using the token to sync the value to all the panels. We could see that all the panels are working fine, but whenever there is no input provided by the user,Splunk still tries to search automatically, which we wanted to stop.
Could anyone guide to fix this issue?
Edit the dashboard and check:
Edit the dashboard and check:
hey both autorun and search on change is unchecked but still could see this in the dashboard panel
"waiting for data" and after few seconds its changes to no result found.
so could you please guide me on this.
check my comment on your posted code
also, I've updated my answer
hey diogofgm , thanks for your effort on this, I got it. By changing the search on change=false and adding submit button in the panel.
@Hemnaath are you seeing Search is waiting for input...
in the panels or are the searches actually running with some default values for Time and Text?
Would you be able to share the Simple XML Dashboard code for the two inputs and at least one of the panel where behavior is not as expected? Also if possible share a screenshot of issue from the dashboard.
Hi niketnialy, thanks for your effort on this, please find the below xml detail for the first two panels.
<form>
<label>Internal-USER-LOOKUP</label>
<fieldset submitButton="false" autoRun="false">
<input type="text" token="F" searchWhenChanged="false">
<label>Username</label>
<default></default>
</input>
<input type="time" token="T" searchWhenChanged="true">
<label>Time picker input</label>
<default>
<earliest>-24h@h</earliest>
<latest>now</latest>
</default>
</input>
</fieldset>
<row>
<panel>
<single>
<title>First Name</title>
<search>
<query>| inputlookup Internal-IDENTITY-AD.csv | search identity ="$F$" | table first</query>
<earliest>$T.earliest$</earliest>
<latest>$T.latest$</latest>
</search>
<option name="drilldown">none</option>
</single>
</panel>
<panel>
<single>
<title>Last Name</title>
<search>
<query>| inputlookup Internal-IDENTITY-AD.csv | search identity ="$F$" | table last</query>
<earliest>$T.earliest$</earliest>
<latest>$T.latest$</latest>
</search>
<option name="drilldown">none</option>
</single>
</panel>
<panel>
<single>
I am not sure how to attach the screen shot, but I could see "waiting for data .." and after few second it changes to No result found. Kindly guide me on this.
<input type="time" token="T" searchWhenChanged="true">
you have a search when changed in the time. Also add a submit button.
hey by changing the searchwhenchanged=false, when we try to change the username/time input are getting updated in all the panels and we could see no result found or we could see previous input result. Not sure how/where to add the submit button and how to pass the parameter.