Yeah, it does seem to work ... which is odd. When I do a relative date like Today I see that $timePicker.earliest$ is set to @d. So effectively it is doing this ... relative_time(relative_time(now(), "@d"), "-7d@d") I can validate that works like this ... | stats count
| eval timeTest = relative_time(relative_time(now(), "@d"), "-7d@d") But I see that when I use a date range the $timePicker.earliest$ is set to an epoch time like 1642492800. Which should effectively be producing this ... relative_time(relative_time(now(), "1642492800"), "-7d@d") If I try testing that with this it doesn't work ... | stats count
| eval timeTest = relative_time(relative_time(now(), "1642492800"), "-7d@d") But using your solution of this does seem to work. <change>
<eval token="daysback7">relative_time(relative_time(now(),$timePicker.earliest$),"-7d@d")</eval>
</change I'm not complaining but I am perplexed as to why works.
... View more