Dashboards & Visualizations

fieldset autoRun="false" submitButton="true" isn't stopping the search from auto running

shalomsuresh
Explorer

I have a dashboard where I have multiple form inputs and using them in multiple panels(which i have not given here). I don't want any panel to run the search before clicking on Submit button.

But for one panel where I have not used any of the user inputs or tokens, it simply runs as soon as the dashboard loads, not sure if this is the expected behaviour and if I have to do additional token dependencies separately for that panel search to stop it from autorun, appreciate your valid suggestions here.

<form version="1.1" theme="dark">
<fieldset autoRun="false" submitButton="true">
<input type="time" token="token_time" searchWhenChanged="false">
<label>Time</label>
<default>
<earliest>-1d@d</earliest>
<latest>now</latest>
</default>
</input>
</fieldset>

<row>
<panel>
<chart>
<title>Dashboard Title</title>
<search>
<query>Search Query </query>
<earliest>-7d@d</earliest>
<latest>now</latest>
</search>
<option name="charting.chart">line</option>
<option name="charting.drilldown">none</option>
<option name="refresh.display">progressbar</option>
</chart>
</panel>
</row>

Labels (4)
Tags (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

This is expected behaviour - if the panel search has no dependencies, it will execute - why would this be a problem, since there are no dependencies, shouldn't the result be the same whenever it runs?

0 Karma

shalomsuresh
Explorer

Yes, the result would be the same whenever it runs but I would prefer it to execute only after the user click on Submit button. 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...