I currently have a form that is a destination form for a dashboard drilldown. Upon clicking a value on the pie chart on the dashboard, I'll be directed to this form with a token $version_remote$ .
<drilldown>
<link>/app/myapp/destination_form?version_remote=$click.value$</link>
</drilldown>
This form has an input drop-down. I've set the default value of this drop-down as the token from the source dashboard drilldown link ( $version_remote$ )
<input type="dropdown" token="version_local" searchWhenChanged="true">
<label>Version:</label>
<search>
<query>index=myapp sourcetype=my_app_csv | stats count(app_id) by app_release| sort -app_release</query>
</search>
<fieldForLabel>app_release</fieldForLabel>
<fieldForValue>app_release</fieldForValue>
<choice value="*">All</choice>
<default>$version_remote$</default>
</input>
I'm also going to use this form by itself (not thru dashboard drilldown). When using the form by itself, I'd like the default value to be set to 'All'.
Can you please let me know how I can do this using the same form?
... View more