Splunk Search

How to create search bar that dynamically updates itself in a dashboard?

Yunan
Engager

Hi,

I would like to have a search bar that is not hard-coded. Right now I have:

 

<label>Search by Customer</label>
<choice value="A">A</choice>
<choice value="B">B</choice>
<choice value="C">C</choice>
<choice value="All Customers">All</choice>
<default>All</default>

 

However, this only allows me to hard-code all possible values. Once an new customer comes in, it will not capture it in the search tab. Is there a way that I can dynamically links the token to the dataset and updates the choice value automatically?

 

Thanks! Really appreciate it. 

Tags (2)
0 Karma
1 Solution

marysan
Communicator

Hello 

in input settings there is a Dynamic option . you can use a report or search to show new customers . like this 

temppppp.png

View solution in original post

marysan
Communicator

Hello 

in input settings there is a Dynamic option . you can use a report or search to show new customers . like this 

temppppp.png

Yunan
Engager

Thank you so much! It solves my problem perfectly.

0 Karma
Get Updates on the Splunk Community!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...