I need to add an "Export to CSV" button in each of my dashboard panels. Is there a way to achieve this using simple XML? Please help.
Super! Working great!! Thank you so much @muralikoppula
Have a look at "Search, Inspect, Refresh, and Export options" section in below link for elements to add in your panel visulization in simple xml for that export button.
https://docs.splunk.com/Documentation/Splunk/7.2.3/Viz/PanelreferenceforSimplifiedXML#Shared_options