Dashboards & Visualizations

Populate Dashboard Panels based on Form Input

atornes
Path Finder

I've built a dashboard with a bunch of panels that report on various data points for a given customer account. I'd like to add a form field to the dashboard where a user can enter an account name and all of the panels report based on that account name, rather than the hard-coded account name I used to build the initial dashboard. How can I do this?

I figured out how to add a form field by changing to

and adding a field set, but have no idea how to make all of the panels run based on the input.





ABCAccount

I really just need to figure out how to pass the value from the account input into those queries/panels.

Tags (3)
0 Karma
1 Solution

aelliott
Motivator

Check out this tutorial, It has some examples of using $tokens$

http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAETQ

View solution in original post

ramyaashok
New Member

Hi,
I have created a dashboard based on various search criteria. I would like to add a column to this, based on one of the output column i need to hard code a value. can anyone please suggest a way to do this.
for ex:
existing output:
abc one

def two
Information need to be hardcoded:
one--> red
two-->black

needed output:
abc one red
def two black

0 Karma

nfilippi_splunk
Splunk Employee
Splunk Employee

There are several resources that you can leverage to learn more about the use of form inputs and tokens throughout your dashboard.

Splunk Documentation > Form Examples
http://docs.splunk.com/Documentation/Splunk/6.0.2/Viz/Buildandeditforms

Splunk 6 Dashboard Examples App
http://apps.splunk.com/app/1603/
* Check out the examples around the form inputs

aelliott
Motivator

Check out this tutorial, It has some examples of using $tokens$

http://dev.splunk.com/view/webframework-htmldashboards/SP-CAAAETQ

Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

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

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...