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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...