Dashboards & Visualizations

Generating csv file from a submit button in dashboard

av_
Path Finder

Hi, 

The requirement is that the user makes a dynamic selection (time range from time picker, environment from env dropdown and few more) and click submit button and as soon as hi clicks submit, a csv file should be generated as per the user input selection and later on the user should be able to reference that csv in the dashboard panel to create different visualisations. 

Is that possible in Splunk? 

Labels (4)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

The outputlookup command has a create_context option which can be set to user to create user-specific versions of the lookup (csv) file.

https://docs.splunk.com/Documentation/SplunkCloud/9.1.2312/SearchReference/Outputlookup

 

0 Karma

av_
Path Finder

Thanks @ITWhisperer for the prompt reply. 
I don’t understand how a csv file would be generated on the click of a submit button in a dashboard. Can you please elaborate more.

 

the user selections would be 1. Time range and click submit. 
the panel will show the results for a query which runs for the selected time range. 

now the question is how can I export it to a csv automatically. And later on use this csv for different visualisation in a dashboard panel

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Which bit don't you understand? How to set up a submit button, or how to have a panel search execute if a token changes?

Your panel search could be a hidden panel whereby the search uses outputlookup as I suggested.

0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...