Another thing, if you would be so kind.
In the main dashboard I have this drilldown code:
<link>
<![CDATA[
/app/SPSearchData/drilldown_search_and_results?status=$click.name2$&earliest=$earliest$&latest=$latest$
]]>
</link>
</drilldown>
My intent is to also send the timestamp.
The receiving form looks like this:
`
Drilldown Search and Results
<input type="dropdown" token="status" searchWhenChanged="true">
<label>Status</label>
<choice value="Abandoned">Abandoned</choice>
<choice value="Clicked">Successful</choice>
</input>
<panel>
<table>
<searchString>sourcetype=sp:2013:search host=apset0725 Status=$status$ |eval lowerQuery=lower(Query) |stats values(ResultsEncoded) as Results by lowerQuery
|rex field=Results max_match=10 "(?<encoded>\d.+?)|"
|fields - Results
|mvexpand encoded
|rex field=encoded "(?<rank>\d+)##\d+..+(?<doc>http.+?)#"
|fields - encoded
|eval rank=rank+1
|sort lowerQuery rank
|dedup lowerQuery doc rank
| stats list(rank) as Rank,list(doc) as Documents by lowerQuery
|rename lowerQuery as "Query String (normalized)"
`
When I click the timechart, my $status$ variable is set just fine, but $earliest$ and $latest do not work properly.
Advice?
... View more