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.
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.
Is this going to change some time? Adv. xml is painful to work with if you're not an xml hacker by trade.