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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...