Reporting

ResultsActionButtons export button is not working in Spluk 4.3

lu
Explorer

Hi,

I tried the latest version 4.3 to check compatibility for our App. I have noticed problem with module ResultsActionButtons, especially export button. It disappeared in the new version 4.3. We used following code and css to display only export button. It worked fine till version 4.2.4 as expected. Generated HTML code for ResultsActionButtons looks different in the new version. Unfortunately App "UI Examples" with export example disappearded from App stor too :-(. Is there some new way to display Export button? Is it documented somewhere?

---XML---

<module name="ResultsActionButtons">

<param name="editView">False/param>

</module>

---css---

.ResultsActionButtons .saveButton,
.ResultsActionButtons .printButton,
.ResultsActionButtons .linkButton,
.ResultsActionButtons .editButton,
.ResultsActionButtons .splViewEvents {
display:none;
}

Thank you

0 Karma
1 Solution

imrago
Contributor

You could use the Export module instead of the old ResultsActionButton

<module name="Export" >
     <param name="exportType">result</param>
</module>

View solution in original post

sideview
SplunkTrust
SplunkTrust

You could download Sideview Utils 2.0, which has a new module called SearchControls.

In appearance it looks like the JobStatus module, and you can give your users the ability to pause, play, cancel, finalize the job, or to save searches or alerts, or to create dashboards etc...

However it also has an export button, and unlike both JobStatus and ResultsActionButtons, you can configure it to only display the options that you want available.

So for instance you can strip it all the way down to just export, by doing:

<module name="SearchControls">
   <param name="sections">export</param>
</module>

or you can give it the ability to export, print save searches, save results, but not the "save and share results" options:

<module name="SearchControls">
   <param name="sections">export print saveMenu</param>
   <param name="saveMenu">saveSearch saveResults</param>
</module>

I too was bitten by the disappearance of export from ResultsActionButtons, and for a while I replaced them all with heavily-patched JobStatus modules. But this was really clunky, and of course there was no 'export', so after a while I went back and implemented the SearchControls module.

0 Karma

imrago
Contributor

You could use the Export module instead of the old ResultsActionButton

<module name="Export" >
     <param name="exportType">result</param>
</module>

Dark_Ichigo
Builder

Is there at least a Defect raised for this at Splunk?, cause I would really need to have the "ResultsActionButtons" Working!

0 Karma

lu
Explorer

Thanks,
it is exactly what I need, it looks as link now, but it is probably ok.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...