Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How to call python script from Dashboard, and download a file from local to web browser

$
0
0
Hi Here is what I am trying to accomplish: 1. Click a button on dashboard 2. it calls a script (Python or JavaScript) 3. the Script will then run some shell script and do the CLI search which creates a CSV file on local directory 4. Returns the value 5. downloads the CSV file created on the server to the Browser Can i call python script by click on a button in dashboard? Or, should i call Javascript and then that javascript calls python script? Or, can i accomplish this by only coding javascript? my splunk is running on Linux server. Looking forward for your replies. Thank you.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>