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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...