Hi,
Am trying to have two panels with one showing the data corresponding to the range selected in time picker and the other panel showing data for the same time range but 7 days earlier. Have tried using eval to assign the 7d time range into tokens (after searching online).
<input type="time" token="Time_Range" >
<label>Time</label>
<default>
<earliest>-15m</earliest>
<latest>now</latest>
</default>
<change>
<eval token="weekearliest">relative_time(relative_time(time(), "$earliest$"), "-7d")</eval>
<eval token="weeklatest">relative_time(relative_time(time(), "$latest$"), "-7d")</eval>
</change>
</input>
Have added the tokens initialized weekearliest and weeklatest as token based search in another panel but it doesnt seems to work,
<earliest>$weekearliest$</earliest>
<latest>$weeklatest$</latest>
Can kindly provide pointers to check on how to implement them?
... View more