Dashboards & Visualizations

Populating Search

hxa27
Path Finder

Hi,

I am trying to populate a search in dropdown option. I tried a couple things but I do not know why it is not working. my XML code looks like that:

<fieldset autoRun="true" submitButton="true">
     <input type="dropdown" token="name" searchWhenChanged="true">
        <label>Select a Catergory:</label>
         <!-- Define the choices with a populating search -->
         <populatingSearch fieldForValue="name" fieldForLabel="name">
            |dbquery My_Database_Name  "select distinct Name from Table1_Name e INNER JOIN Database_name..Table2_name r on My_ReportID1=My_ReportID2 where Name='My_condition '"
         </populatingSearch>
     </input>
     </fieldset>

I used the same populating search in a different query and it was work just fine. I don't know why this is not working..

Thanks in advance

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Make sure you're not mixing name with Name when looking for the field/column.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Make sure you're not mixing name with Name when looking for the field/column.

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 ...