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
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...