All Apps and Add-ons
Highlighted

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

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$ )

Highlighted

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

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

Highlighted

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

Builder

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

0 Karma
Highlighted

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

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
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.