I need to add an export button on the top of a dashboard, simply one that recall the built in function of splunk that let you select the name, type of file and number of event saved.
I found the element that can recall that function, by typing it in the console i can call it but I have problems to integrate it inside a button i can put in my dashboard.
Do anyone have any idea on how to do it?
The function to call it is:
document.getElementsByClassName("btn-pill export")[0].click()
Any help will be appreciated.
Thanks
Hi @BakaFon
I am trying to understand why you need to add a button to export when it is already available in Splunk. If you have access to export the dashboard, then you should have an export button in the dashboard by default.
Yes I know, but sadly i need to move it on top of the dashboard table