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?

View solution in original post

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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!