Getting Data In

REST API endpoint for prebuilt panels doesnt seem to work?

rroberts
Splunk Employee
Splunk Employee

I can get details about my dashboard and nav files from :

| rest /services/data/ui/view
| rest /services/data/ui/nav
However when I just use | rest /services/data/ui I see an endpoint called panels. I would assume this is for prebuilt panels but | rest /services/data/ui/panels yields no results even though I have prebuilt panels under .../data/ui. Is the endpoint supported in 6.2?

0 Karma

Flynt
Splunk Employee
Splunk Employee

This endpoint is supported (I just hit it on my own instance). Perhaps you are running into a permission issue. Does the user you are running | rest /services/data/ui with have permissions to the panels?

Also a quick test - what happens when you browse to the endpoint directly? -

https://server:mgmtport/services/data/ui/panels

For instance on my local Splunk this would be

https://localhost:8089/services/data/ui/panels
0 Karma
Get Updates on the Splunk Community!

Splunk APM & RUM | Upcoming Planned Maintenance

There will be planned maintenance of Splunk APM’s and Splunk RUM’s streaming infrastructure in the coming ...

Part 2: Diving Deeper With AIOps

Getting the Most Out of Event Correlation and Alert Storm Detection in Splunk IT Service Intelligence   Watch ...

User Groups | Upcoming Events!

If by chance you weren't already aware, the Splunk Community is host to numerous User Groups, organized ...