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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...