Splunk Search

Check box for base search


Hi guys,

For a dashboard panel, I am running base search and hoping to have a checkbox that returns the timechart data while selecting the check box. Not sure what changes needs to be done to the following query- (also I guess the tag placement for row, panel & chart needs to be aligned)

<search id="base_search">
<query>index=magic host="abc*" $check1$</query>
<fieldset submitButton="false">
<input type="checkbox" token="check1" searchWhenChanged="true">
<choice value="*">All</choice>
<search base="base_search">
<query>| search "abracadabra" | timechart span=5m count

Labels (2)
0 Karma


The input search won't run until the token in the base search is defined - which won't happen until the input search runs.

If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...