Dashboards & Visualizations

Dropdown field not getting populated by populatingSearch

asherman
Path Finder

Hi,

The following code produces results (via searchTemplate), but does not populate my dropdown menu. Data is stored as lines of comma delimited key=value pairs, e.g., colour=red,block=lab,corner=100c. Note that the searches are identical for the searchTemplate and populatingSearch inputs.

index=test_index3 | fields block | dedup block | stats values(block)
All index=test_index3 | fields block | dedup block | stats values(block) *
$blocks$

Am I misusing the dropdown/populatingSearch syntax somehow?

1 Solution

aweitzman
Motivator

Use table block instead of stats values(block) after the dedup block phrase of the populating search.

View solution in original post

aweitzman
Motivator

Use table block instead of stats values(block) after the dedup block phrase of the populating search.

surekhasplunk
Communicator

am using below code

  <label>Email ID</label>
  <search>
    <query>index=snow description=*CPU* number=INC0010007 | table sys_created_by</query>
    <earliest>0</earliest>
    <latest></latest>
  </search>
  <fieldForLabel>emailid</fieldForLabel>
  <fieldForValue>emailid</fieldForValue>
</input>

but my dropdown isn't getting populated whereas the query gives me result.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...