Dashboards & Visualizations

add drop downs to form search in advanced xml

klee310
Communicator

From the documentation here I can see that drop-downs are pretty easy to accomplish using basic dashboards. But I want to accomplish the same affect in an advanced xml dashboard. I have already done a search on this topic and found nothing quite what I'm looking for. Please help.

Here is a reference to the other topic I'm referring to.

And to answer the inquiry from the other topic - the reason I am trying to use advanced XML instead of simple XML dashboard is because I am trying to put 2 eventviewers on the same dashboard, driven by one search (click)

many thanks.

0 Karma
1 Solution

Wushu
Explorer

It would vary depending on whether you want a static or dynamic (you input a search) drop down list.

Heres a snippet of code for a static one.

       <module name="StaticSelect">
                                <param name="settingToCreate">savedsearch</param>
                                <param name="staticFieldsToDisplay">
                                            <list>
                                                       <param name="value">Computing Report</param>
                                                       <param name="label">Reports</param>

                                           </list>

                                </param>

View solution in original post

0 Karma

Wushu
Explorer

It would vary depending on whether you want a static or dynamic (you input a search) drop down list.

Heres a snippet of code for a static one.

       <module name="StaticSelect">
                                <param name="settingToCreate">savedsearch</param>
                                <param name="staticFieldsToDisplay">
                                            <list>
                                                       <param name="value">Computing Report</param>
                                                       <param name="label">Reports</param>

                                           </list>

                                </param>
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...