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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...