Hi all. One of our users cannot upload files to splunk with the error "User is not allowed to modify the job".
The user is a power user but not an admin user.
May I know if we need to amend any settings for it to work? Thanks.
We have also started getting this issue after updating Splunk from 8.2 to 9.1.
When I change user role to Admin, they can upload data, when I change back to previous role with the mentioned permissions, they get the same error "User is not allowed to modify the job".
This must be a change in one of the roles in the update, but I'm just trying to figure out which permission is needed for this. My user has the following permissions which is what I read is required to add data:
But still no luck. Will update if I find the specific permission required.
I have opened a case and the Splunk Engineering confirmed that there is a bug due to a code change since 9.0.5 version.
The workaround for now is to assign the user with "admin_all_objects" but it is very similar to administrative privileges.
Thanks @kakawun this worked. Happy to give users this temporarily. Hopefully Splunk will rectify this bug soon. If you can mark your own comment as an answer I would recommend that! Thanks again.
Well, normally that's not something you grant a normal user with. Especially that usually data onboarding is either done directly on forwarders or via apps distributed from DS - it's relatively uncommon for production search-heads to do ingestion on their own.
Ayway, the most probable candidate for the capability you need would be edit_monitor, but it allows for much more than just uploading a data file for ingestion.
I agree, but in some cases it makes sense to give a single user the ability to upload logs to a dedicated index (eg. siem detection usecases).
I had to give Admin rights to the server, and that was not the way I wanted to set the permissions.
Kind Regards
Patrick
Thanks for your advice. We have already granted the user with the edit_monitor capability but unfortunately it is not working.
Hi
I confirm that @PickleRick is 100% right. You should never add data directly on your production environment by some regular user. Actually not even any admin users!
Your onboarding process should contains instructions how users set up they developer splunk instances to do that data onboarding and then how admins will deploy ready TA/Apps to production via git or other repository.
r. Ismo
Can you please check the logged-in user's role and capabilities sufficient to write data?
KV
The user has been assigned with Power role (https://docs.splunk.com/Documentation/Splunk/9.0.5/Security/Rolesandcapabilities) with the below addition capabilities:
edit_monitor
indexes_edit
edit_tcp
Thanks.
Hi,
I tried to add the capabilities listed above, but the user get still the same answer back as before:
User is not allowed to modify the job
the missing role is admin_all_objects