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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...