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!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...