I'm trying to save the results of my search in a token so I can reference it in another visualization. I've read other post and people are using the <done> tags to solve this issue.
Below is my code
<row>
<panel>
<single>
<search>
<query>index = * | stats count as c</query>
<earliest>$time.earliest$</earliest>
<latest>$time.latest$</latest>
<done>
<set token="results" >$row.c$</set>
</done>
</search>
<option name="drilldown">none</option>
</single>
</panel>
</row>
ideally I would like to reference the "Results" token in other searches. Any help is appreciated.
-Marco
Change
<set token="results" >$row.c$</set>
with
<set token="results" >$result.c$</set>
The $row.xxx works when you drilldown using a click.
Change
<set token="results" >$row.c$</set>
with
<set token="results" >$result.c$</set>
The $row.xxx works when you drilldown using a click.
How is that code failing you? How are you trying to reference the $results$ token?