Dashboards & Visualizations

How to create a button in Simple XML to export the results of all 5 tables in my dashboard to a CSV file?

Federica_92
Communicator

Hi everyone,

I have a dashboard with 5 tables. I would like create a button, maybe a submit button, to export all my results in a CSV file.
I already created the search in Splunk to export the file, but I don't know the XML code to link a single search with the button. Could anyone help me?

Thank you

0 Karma

sfatnass
Contributor

It's easy to pass on html dashboard and use global variable that will contain all your data

var array=[]
var obj ={}

obj.array=array;

var content = {
"field1":value1,
"field2":value2.....
}

then on submit action, you can retrieve (obj) and here you can insert in csv or kv store

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...