Reporting

Populate Reports page in "Search & Reporting" page upon app install

shipitsquirrel
Explorer

Hello,

I'm currently developing a Splunk app and am having trouble bundling saved searches to appear in the Search & Reporting app.

My intention is to include a list of searches in my app package (in savedsearches.conf or elsewhere) that will appear in the Reports tab of S&R. I've done some digging but haven't found a solution that works.

Is this possible? I'm developing in Splunk Enterprise 9.1.3.

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

By default, reports in your app are shown in your app.  To have them appear in the S&R app the reports must be shared globally and the Reports dashboard must be set to show reports from all apps.  Or your report must be shared within your app and the S&R Reports dashboard must be set to show reports from your app.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

By default, reports in your app are shown in your app.  To have them appear in the S&R app the reports must be shared globally and the Reports dashboard must be set to show reports from all apps.  Or your report must be shared within your app and the S&R Reports dashboard must be set to show reports from your app.

---
If this reply helps you, Karma would be appreciated.

shipitsquirrel
Explorer

Thanks for the help! 

Do you have an example of what it looks like to share a search globally? I've read lots of forum posts and Splunk Docs but haven't gotten a clear answer on how to configure this in the .conf file.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Sharing is specified in default.meta rather than in .conf files.  To make a search global, use settings like these

[savedsearches/<<URL-encoded search name>>]
export = system
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

How to Monitor Google Kubernetes Engine (GKE)

We’ve looked at how to integrate Kubernetes environments with Splunk Observability Cloud, but what about ...

Index This | How can you make 45 using only 4?

October 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Splunk Education Goes to Washington | Splunk GovSummit 2024

If you’re in the Washington, D.C. area, this is your opportunity to take your career and Splunk skills to the ...