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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...