Dashboards & Visualizations

How to extract the data depending on the dropdown menu and autopopulate the search charts

theouhuios
Motivator

I am trying to autopopulate the data from a drop down box in the searchstring according to changes done in the dropdown menu. I might be doing a mistake in understand what 'value' option is and on how to define it to search according to the changes in the search. Please see the code below. Any help would be great.

 <fieldset autoRun="true">
<input type="dropdown" token="option" searchWhenChanged="true">
  <label>Search By: </label>
  <default>Architecture and Engineering</default>
  <choice value="record.groupArea">Architecture and Engineering</choice>
  <choice value="record.groupArea">Channel Support</choice>
  <choice value="record.groupArea">Customer Connection Solutions</choice>
  <choice value="record.groupArea">Customer Relationship Management</choice>
  <choice value="record.groupArea">Data and amp Information Strategies</choice>
  <choice value="record.groupArea">General and Financial Services</choice>
  <choice value="   record.groupArea">  Not Defined</choice>
  <choice value="record.groupArea">P and amp;C Claims Systems</choice>
  <choice value="record.groupArea">Product Solutions</choice>
  <choice value="record.groupArea"> Systems Projects</choice>
  <choice value="record.groupArea">Systems Technology</choice>
  <choice value="record.groupArea">Workforce and Department Services</choice>
</input>
<!-- Allow the user to select a timerange -->


<input type="time">
  <label>Time Range: </label>
  <default>Today</default>
</input>




sourcetype= "incident" earliest = -1d@d | dedup record.incidentId | search record.eventType="update" record.groupArea=$record.groupArea$ | timechart span=1hr count by record.eventType usenull=f
24 Hour History
Time
column
gaps
default
false
right

20
true
all

-theou

Tags (1)

theouhuios
Motivator

Got it. Was doing a mistake in understanding what token meant. Solved.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...