I am able to populate the dropdown menu with the required items in advanced XML but i am unable to displat the charts on the selected item . Please help ?
Please read the following documentatation
http://docs.splunk.com/Documentation/Splunk/latest/Developer/FormIntro
This will help you create one in simple XML you can then append ?showsource=1
to the URL of the view, this will show the advanced XML for the form.
Alternatively you should read this documentation for advanced XML
http://docs.splunk.com/Documentation/Splunk/latest/Developer/AdvancedFormSearch
Can't really help apart from this unless you show us what you are having issues with (i.e. your XML)
This is the XML code I am using for my view. The Drop down menu is getting populated but the chart is not showing the results ?
enter code here
<module name="HiddenSearch" layoutPanel="panel_row2_col1" autoRun="True">
<param name="search">sourcetype="audit" $unit_name$ |timechart count BY Admin_Name</param>
<param name="useHistory">Auto</param>
<module name="JobProgressIndicator"/>
<module name="HiddenChartFormatter">
<param name="chartTitle">RBA Activity - Successful Logins </param>
<param name="chart">column</param>
<param name="primaryAxisTitle.text">Time</param>
<param name="secondaryAxisTitle.text">Successful Logins</param>
<param name="legend.placement">bottom</param>
<module name="FlashChart">
<param name="width">100%</param>
<param name="height">360px</param>
<module name="ConvertToDrilldownSearch">
<module name="ViewRedirector">
<param name="viewTarget">flashtimeline</param>
<param name="popup">true</param>
</module>
</module>
</module>
</module>
</module>
Please help
Good Job!!
I was using HiddenSavedsearch but when I used savedSearch Module it's working fine .
Please read the following documentatation
http://docs.splunk.com/Documentation/Splunk/latest/Developer/FormIntro
This will help you create one in simple XML you can then append ?showsource=1
to the URL of the view, this will show the advanced XML for the form.
Alternatively you should read this documentation for advanced XML
http://docs.splunk.com/Documentation/Splunk/latest/Developer/AdvancedFormSearch
Can't really help apart from this unless you show us what you are having issues with (i.e. your XML)
If this answers your question please mark the answer as accepted (the tick next to the answer), you can even up-vote it if you like. 🙂
Thanks for your reply !!
can anyone show me any simple example in which dropdown is implemented ?