Dashboards & Visualizations

Setting default pageControls for results

wang
Path Finder

Via the UI, in the view for flashtimelineI added values to pageControls for results and set the default to 50.

While the new values do show up in the dropdown, I have searches (not all) that will come back and display the default of 10, eventhough there is no value 10 in the dropdown menu and I set the default to 50.

Is this a bug? Is there another setting I need to adjust to default search to 50?

            <module name="Count" layoutPanel="pageControls">
              <param name="options">
                <list>
                  <param name="text">50</param>
                  <param name="selected">True</param>
                  <param name="value">50</param>
                </list>
                <list>
                  <param name="text">100</param>
                  <param name="value">100</param>
                </list>
                <list>
                  <param name="text">500</param>
                  <param name="value">500</param>
                </list>
                <list>
                  <param name="text">1000</param>
                  <param name="value">1000</param>
                </list>
              </param>
Tags (2)
0 Karma
1 Solution

jonuwz
Influencer

add :

<param name="default">50</param>

at the same level as the option param

View solution in original post

0 Karma

jonuwz
Influencer

add :

<param name="default">50</param>

at the same level as the option param

0 Karma

jonuwz
Influencer

Tip: go to :8000/modules

All the options for all modules are listed there. Wealth of information

0 Karma

wang
Path Finder

Thanks. Didn't know about the "default" param. I thought setting "selected" to True would do it.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...