I'm working on a dashboard that will present the user with a chart after selecting some fields from a couple dynamically populated Pulldowns and pressing the submit button.
I wrote up a simple version of this based on a Sideview example page. Basically, there is a search run to populate the Pulldown, then a Button. When the button is pressed I would like the search to run and display the results. Right now, it runs the second search and displays results before the user can select something.
Here is my sample code (based on the dynamic Pulldown example from the SV documentation).
What am I missing to prevent the second search from running?
<module name="Search" layoutPanel="panel_row1_col1" autoRun="True">
<param name="search">index=_internal source="*metrics.log" group="per_sourcetype_thruput" | dedup series | sort series | fields series</param>
<param name="earliest">-1h</param>
<param name="latest">now</param>
<module name="Pulldown">
<param name="name">selectedSourcetypeSearchTerm</param>
<param name="label">filter:</param>
<param name="template">series="$value$"</param>
<param name="searchFieldsToDisplay">
<list>
<param name="label">series</param>
<param name="value">series</param>
</list>
</param>
<module name="Button">
<param name="allowSoftSubmit">False</param>
<param name="allowAutoSubmit">False</param>
<param name="label">Go</param>
<module name="Search">
<param name="search">index=_internal source="*metrics.log" group="per_sourcetype_thruput" $selectedSourcetypeSearchTerm$ | stats min(eps) avg(eps) max(eps) </param>
<param name="earliest">-1h</param>
<param name="latest">now</param>
<module name="SimpleResultsTable">
<param name="displayRowNumbers">False</param>
<param name="entityName">results</param>
</module>
</module>
</module>
</module>
Thanks in advance.
... View more