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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...