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!

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Splunk Developer Day announcements: AI agents, MCP tools, Forecasting, and Custom ...

Splunk Developer Day was packed with product and platform updates for developers building in the AI ...