Reporting

error message "cannot overwrite exisitng app object" while trying to edit permission of a view

ashabc
Contributor

I have created a new app (using the GUI and barebone template). Now I (the admin user) have created a view within this new app and would like to share with other users. When I try to edit permission for this view, I get an error message "Cannot overwrite existing app object"

I tired to manually edit metadata (the local.meta file of the new app reference folder), still of no joy.

Any help will be appreciated.

1 Solution

ashabc
Contributor

Got it resolved. It was actually the file level permission within the operating system. We have installed splunk on windows server 2012 and the default permission for the apps folder wasn't appropriate. Not sure why the default behaviors is like this. What I had to do is to give "SYSTEM" full control on the apps folder and it worked! If you have installed splunk service to run under a different account than the local systems, then you have give full control access to the folder to that account.

View solution in original post

robjackson
Path Finder

Also, if you have a object with the same name you will get this error. Like a report and alert with the same name.

ashabc
Contributor

Got it resolved. It was actually the file level permission within the operating system. We have installed splunk on windows server 2012 and the default permission for the apps folder wasn't appropriate. Not sure why the default behaviors is like this. What I had to do is to give "SYSTEM" full control on the apps folder and it worked! If you have installed splunk service to run under a different account than the local systems, then you have give full control access to the folder to that account.

ashabc
Contributor

The other message I get it (when trying to change permission from manager is:

Splunk could not update permissions for resource data/ui/views [HTTP 500] Splunkd internal error; [{'code': None, 'type': 'ERROR', 'text': "In handler 'views': Could not find writer for: /nobody/custom_apps/views/user_activity [0] [D:\Program Files\Splunk\etc]"}]

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...