Splunk Search

How can I use SDK or RESTfulAPI to retrieve the SPL definition inside a panel of a dashboard?

tlam_splunk
Splunk Employee
Splunk Employee

How can I use SDK or RESTfulAPI to retrieve the SPL definition inside a panel of a dashboard?

Tags (1)
0 Karma

tlam_splunk
Splunk Employee
Splunk Employee

I finally find the answer. When using the SDK to get the dashboard data,

GET data/ui/views/{name} method detail

We can get the eai:data (xml definition for the dashboard) and the SPL will be inside the xml. Have to go deeper level of xml.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...