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

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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

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