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!

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

&#x1f5e3; You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...