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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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