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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...