Getting Data In

Why does the REST endpoints only show data from the Search app?

andyk
Path Finder

I have created a new app with many saved searches. And I have created a new view in this app. In this view I have created a EntityLinkLister that have the entityPath set to "saved/searches". The list of saved searches shows up in the view but it only shows the defult saved searches from the Search app.

How do I make it show the saved searches in my app?

Tags (1)
0 Karma
1 Solution

dturnbull_splun
Splunk Employee
Splunk Employee

Do you have a <param name="namespace">my_app</param> attribute in your EntityLinkLister?

View solution in original post

dturnbull_splun
Splunk Employee
Splunk Employee

Do you have a <param name="namespace">my_app</param> attribute in your EntityLinkLister?

andyk
Path Finder

That solved the problem! Thanks!

The documentation could be better on this subject. On this page http://docs.splunk.com/Documentation/Splunk/4.3.4/Developer/HowToUseListers#EntityLinkLister
it says: "The below example returns a list of saved searches that are available (using Splunk's permissions system) to the current Splunk user and app."

It does not mention the namespace parameter.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...