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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...