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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...