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!

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