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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...