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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...