I'm working on a dashboard that is not returning any results but can find events upon clicking the "Open in Search" link. Why is it not showing results on the dashboard view?
Please share your dashboard source code in a code block </>
<form theme="dark">
<label>[REDACTED]</label>
<fieldset submitButton="false">
<input type="time" token="timerange" searchWhenChanged="true">
<label>Time Range</label>
<default>
<earliest>-2w@w</earliest>
<latest>now</latest>
</default>
</input>
</fieldset>
<row>
<panel>
<title>[REDACTED]</title>
<event>
<title>[REDACTED]</title>
<search>
<query>| inputlookup [REDACTED].csv | bucket _time span=1week | addinfo | eval WeekA=strftime(info_min_time, "%V") | eval WeekB=strftime(info_max_time, "%V") | where [REDACTED] == [REDACTED] AND refwoy >= WeekA AND refwoy < WeekB | eval f_time=strftime(refdate, "%Y-%m-%d") | xyseries [REDACTED] f_time count | foreach * [| eval total=if(isnull(total),0,total) | eval total=total+1| eval DIFF=if(total=1, -1* '<<FIELD>>', DIFF + '<<FIELD>>')] | eval temp=split(DIFF,"http") | eval Difference=mvindex(temp,0) | fields - total, temp, DIFF</query>
<earliest>$timerange.earliest$</earliest>
<latest>$timerange.latest$</latest>
</search>
<option name="list.drilldown">none</option>
<option name="refresh.display">progressbar</option>
</event>
</panel>
<panel>
<title>[REDACTED]</title>
<event>
<title>[REDACTED]</title>
<search>
<query>| inputlookup [REDACTED].csv | bucket _time span=1week | addinfo | eval WeekA=strftime(info_min_time, "%V") | eval WeekB=strftime(info_max_time, "%V") | where [REDACTED] == [REDACTED] AND refwoy >= WeekA AND refwoy < WeekB | eval f_time=strftime(refdate, "%Y-%m-%d") | xyseries [REDACTED] f_time count | foreach * [| eval total=if(isnull(total),0,total) | eval total=total+1| eval DIFF=if(total=1, -1* '<<FIELD>>', DIFF + '<<FIELD>>')] | eval temp=split(DIFF,"http") | eval Difference=mvindex(temp,0) | fields - total, temp, DIFF</query>
<earliest>$timerange.earliest$</earliest>
<latest>$timerange.latest$</latest>
</search>
<option name="list.drilldown">none</option>
<option name="refresh.display">progressbar</option>
</event>
</panel>
</row>
</form>
I am very sorry and figured out what my issue was, the panel appeared to have switched to events instead of a statistics table! Thanks for reaching out to help!
Has this problem been figured out yet? I am having the same issue now and am unable to figure out what is going on. Thank you!
Hi @mwestley ,
The search is returning results when your time range is selected as All time. So Add a time range filter in the dashboard and check for the results.
I was hopeful trying your suggestion but after adding the time range picker still am getting no results. 😞 I am curious though on the Search results page where it shows statistics of 64 but events is zero. Why is that?
Hi @mwestley ,
can you select the time range as the Previous year and check for the result?
And also after creating a time range input did you applied the time range on the search?