Hello,
I am looking for a solution to download a Splunk-search-result as csv file, with a direct download link.
I know there is a outputcsv option to export it as csv on splunk file system. And I know also that I can click in the web interface UI on the "export" button to export it as csv, but both is not what I need.
I need a similar solution as the "export button"-solution, to download the csv file from the browser, but i need it without the need of clicking the "export" button. I want to create a direct http-link, which on opening the link in a browser downloads the csv file directly (open the save as browser dialog), without needed user interaction in web-interface.
So it is possible to manipulate the http-splunk-link or with some custom options in the splunk search, to produce direct csv-file download links?
As result I want to have a solution to produce http links, which when opened in a browser, switch to the "save as" dialogue (after some time splunk needed to calculate the results), because the link should tell splunk to process the search and then send the file automatically to the requested browser.
I need that for automation purpose to get a simple solution to read splunk search results in other tools and work with that data. For that, I think a simple solution would be splunk direct csv file result download links. So I hope splunk support that.
Thanks a lot
S.
... View more