Dashboards & Visualizations

Add a Search Bar in Simple Dashboard.

sanju005ind
Communicator

How can I add search bar (flashtimeline) to a simple dashboard.

Tags (1)
0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

Sadly you cannot use the Simple XML (aka simplified XML) to do this, neither the <form> nor the <dashboard> flavor.

You'll have to switch to the advanced XML.
http://www.splunk.com/base/Documentation/latest/Developer/AdvancedIntro

and the best way to get a hands-on understanding the quickest is to download the "UI Examples for 4.1" app from splunkbase and read through the documented examples page by page while looking at their XML source. (App > Launcher > Browse other apps > UI Examples > Install )

It can definitely be done though. And there are even ways to augment the UI such that you can combine the SearchBar with other form search elements too.

View solution in original post

sideview
SplunkTrust
SplunkTrust

Sadly you cannot use the Simple XML (aka simplified XML) to do this, neither the <form> nor the <dashboard> flavor.

You'll have to switch to the advanced XML.
http://www.splunk.com/base/Documentation/latest/Developer/AdvancedIntro

and the best way to get a hands-on understanding the quickest is to download the "UI Examples for 4.1" app from splunkbase and read through the documented examples page by page while looking at their XML source. (App > Launcher > Browse other apps > UI Examples > Install )

It can definitely be done though. And there are even ways to augment the UI such that you can combine the SearchBar with other form search elements too.

cmeo
Contributor

Is this going to change some time? Adv. xml is painful to work with if you're not an xml hacker by trade.

Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...