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!

Index This | Why do they call it hyper text?

November 2023 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

State of Splunk Careers 2023: Career Resilience and the Continued Value of Splunk

For the past three years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

The Great Resilience Quest: 9th Leaderboard Update

The ninth leaderboard update (11.9-11.22) for The Great Resilience Quest is out >> Kudos to all the ...