I want to add the "Latest" keyword to my drop down filter instead of date which displays the latest data.
Below is my source code:
<input type="dropdown" token="reportingDayA">
<label>Reporting Day Misra apu</label>
<fieldForLabel>readableDateA</fieldForLabel>
<fieldForValue>epochA</fieldForValue>
<search>
<done>
<set token="reportingDayDefA">$result.epochA$</set>
</done>
<query>index=`std_getAttrIndexBaseName`_qac$oem$ sourcetype=qac Variant="apu $Variant$" Release=$release$
| dedup _time| eval readableDateA=strftime(_time,"%F")
| eval epochA=strftime(_time,"%s") | dedup readableDateA
| sort - _time</query>
<earliest>0</earliest>
<latest></latest>
</search>
<default>$reportingDayDefA$</default>
</input>
and Latest keyword should be default value to be selected
... View more