Dashboards & Visualizations

Can any one explain me how to create a button on dash board?

vikasreddy
Explorer

I have created a dash board. On that I have to create a "Button" on that created panel.when I press the button, New window has to be open and it should display some text content.I think it is simple task but I am not able to crack it.

I don't know from where I have to start? can anyone help me in detail steps about this?

Thanks!

Tags (1)
0 Karma
1 Solution

ehudb
Contributor

If that button is not related to a specific search, you would need an HTML panel.
See this answer:
https://answers.splunk.com/answers/378289/calling-java-script-from-dashboard.html

Also see in the Dashboard Examples, the example "Token Links"

View solution in original post

0 Karma

mikev
Path Finder

Without know more than general items (helpful would be version of Splunk) but any of the 6.x version are alike.

Basic steps would be to use the Dashboard and Form Editor:
Select Add Input here you can select a Text box, Radio Button, Dropdown Box, Checkbox, Multiselect , Time and Submit.
I generally recommend always adding Time and Submit for a basic dashboard. You should be able to do this without having to edit the XML directly, but you can as well. You can have functions perform drill downs on the line clicked.

0 Karma

ehudb
Contributor

If that button is not related to a specific search, you would need an HTML panel.
See this answer:
https://answers.splunk.com/answers/378289/calling-java-script-from-dashboard.html

Also see in the Dashboard Examples, the example "Token Links"

0 Karma
Get Updates on the Splunk Community!

Announcing the Expansion of the Splunk Academic Alliance Program

The Splunk Community is more than just an online forum — it’s a network of passionate users, administrators, ...

Learn Splunk Insider Insights, Do More With Gen AI, & Find 20+ New Use Cases You Can ...

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

Buttercup Games: Further Dashboarding Techniques (Part 7)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...