Security

How to change the permissions for a report to private after packaging a Splunk app?

adevi
Explorer

I have packaged my Splunk app using the package app command and it had copied all my saved searches from the local to the default directory of the app. I think because of that, I am not able to delete the report from the UI. There is no delete option even though I am an admin and have write permissions to the app and the report I am trying to delete. Since I cannot delete the report, I thought of making it private, but that option is also grayed out.

Does that mean my only option is to remove the report from default/savedsearches.conf? Is it ok to do that way? Because I read it is not good to modify the default conf files. Any other ideas?

I read the below the doc - disable or delete knowledge object and I understand that I can disable it. But I would like to make it private or delete it so that it would not get into the production environment ( not listed in the reports tab) when I package it.

Thanks in advance!

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

It's OK to modify default conf files as long as you understand you will have to do so every time you re-package the app.

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

It's OK to modify default conf files as long as you understand you will have to do so every time you re-package the app.

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

adevi
Explorer

Is it like that in all versions? once you package the app and install , then you wont be allowed to delete anything from web gui or even change to private? Then why are we giving admin user delete option when they cannot really delete it ? I am confused

0 Karma
Get Updates on the Splunk Community!

Splunk Education - Fast Start Program!

Welcome to Splunk Education! Splunk training programs are designed to enable you to get started quickly and ...

Five Subtly Different Ways of Adding Manual Instrumentation in Java

You can find the code of this example on GitHub here. Please feel free to star the repository to keep in ...

New Splunk APM Enhancements Help Troubleshoot Your MySQL and NoSQL Databases Faster

Splunk Observability has two new enhancements to make it quicker and easier to troubleshoot slow or frequently ...