All Apps and Add-ons

Checkboxes dynamic list only show less than 100 checkboxes populated from a savedsearch

royimad
Builder

Hello,
I have a saved search with more than 100 values that i would like to show in checkboxes modules of sideview. How to do that?


<![CDATA[
|savedsearch Reports_Listing
]]>


REPORTS
value
label
+OR+
ACTIONNAME="$REPORTS$"
( $value$ )

1 Solution

sideview
SplunkTrust
SplunkTrust

By default the module will only render 50 dynamic checkboxes, but you can raise this ceiling by setting the "count" param.

ie

<param name="count">200</param>

This param isn't mentioned in the normal Sideview Utils docs page for Checkboxes, but if you click the link that says "Read the specification for the Sideview module: Checkboxes and its params.", those specification pages always list every param and their descriptions, so you can read about it there.

View solution in original post

sideview
SplunkTrust
SplunkTrust

By default the module will only render 50 dynamic checkboxes, but you can raise this ceiling by setting the "count" param.

ie

<param name="count">200</param>

This param isn't mentioned in the normal Sideview Utils docs page for Checkboxes, but if you click the link that says "Read the specification for the Sideview module: Checkboxes and its params.", those specification pages always list every param and their descriptions, so you can read about it there.

sideview
SplunkTrust
SplunkTrust

I would wait until Sideview Utils 2.7, coming out soon, wherein I've made it so you can have a ValueSetter set REPORT to "*" upstream, and your Checkboxes will select all.

There is technically a really janky way -- Use a postprocess search to make a giant concatenated string of all the values, use ResultsValueSetter to pull down that string, use ValueSetter to split it into an array-valued key in the UI. If you do stitch all of this in between Checkboxes and its Search, and that ValueSetter has the same name as the Checkboxes module it'll populate them all. Like I said, janky!

0 Karma

royimad
Builder

Is there any technique that i can use to add a button to check/uncheck all checkboxes?

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, ...