Hi, I'd wanted a similar thing for a dashboard and the following way had worked for me: <row depends="$hidden$">
<panel>
<table>
<search>
<done>
<set token="tkn_display_earliest">$result.earliest$</set>
<set token="tkn_display_latest">$result.latest$</set>
</done>
<query>| stats count
| eval earliest= replace("$time.earliest$","rt","")
| eval earliest = if(earliest!="",earliest,0)
| eval earliest=strftime(if(replace(replace(earliest,"\.\d+",""),"\d","")!="",relative_time(now(),earliest),earliest), "%b %d %Y %H:%M:%S")
| eval latest=strftime(if(replace(replace("$time.latest$","\.\d+",""),"\d","")!="",relative_time(now(),if("$time.latest$"="now" OR "$time.latest$"="rt" , "-0", "$time.latest$")),"$time.latest$"), "%b %d %Y %H:%M:%S")
| eval latest = if(isnull(latest), strftime(now(),"%b %d %Y %H:%M:%S"), latest)</query>
<earliest>$timeRange.earliest$</earliest>
<latest>$timeRange.latest$</latest>
</search>
<option name="count">10</option>
<option name="drilldown">none</option>
<option name="refresh.display">progressbar</option>
</table>
</panel>
</row>
<row>
<html>
<h1>Time: $tkn_display_earliest$ - $tkn_display_latest$</h1>
</html>
</row>
... View more