I need to append the query based on the defined variable.
Please let me know whether it is possible in XML or in a search.
Hi @sumyatnoepwint,
I believe the "condition" element should help you handle various input selections. See
http://docs.splunk.com/Documentation/Splunk/6.5.0/Viz/PanelreferenceforSimplifiedXML#condition_.28in...
You can also check out the form input examples in the Dashboard Examples App
https://splunkbase.splunk.com/app/1603/
Hope this helps!