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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...