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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...