Dashboards & Visualizations

dropdown populated search

hxa27
Path Finder

Hi,

I am trying to populate my dropdown from my search but I am not sure about my syntax or something else is missing. My code looks like :

form>

|| dbquery UCM "select * from DimCategory where Name="" "




<!-- Define the choices with a populating search -->

<![CDATA[index=_internal|stats count by Name]]>
<choice value="">Any




The query is run against a database. So, I am not indexing any data. any help is appreciated.

Tags (1)
0 Karma
1 Solution

hxa27
Path Finder
|dbquery UCM "select name from DimCategory where name like '%'"
* All |dbquery UCM "select name from DimCategory where name like '%'"

This code does what I want. Yeeeeeees

View solution in original post

hxa27
Path Finder
|dbquery UCM "select name from DimCategory where name like '%'"
* All |dbquery UCM "select name from DimCategory where name like '%'"

This code does what I want. Yeeeeeees

Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...