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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...