Splunk Dev

why does loadjob fail producing the message: Error in 'SearchOperator:loadjob': error accessing https xxxx statusCode=403, description=Forbidden

rphillips_splk
Splunk Employee
Splunk Employee

loadjob returning statusCode=403, description=Forbidden when a user without admin role calls a search artifact created by a user with admin role. This works with 6.3.4. but in 6.3.5 produces the following error:

Error in 'SearchOperator:loadjob': error accessing https://127.0.0.1:8089/servicesNS/some-admin/search//saved/searches/mysearchtest/?output_mode=json, statusCode=403, description=Forbidden

Tags (1)
0 Karma

rphillips_splk
Splunk Employee
Splunk Employee

This is a known bug (SPL-123305) in 6.3.5 which is fixed in 6.3.6 and 6.4.2

as a workaround you can call the search artifact by using the 'nobody' user like:
| loadjob savedsearch="nobody:search:mysearchtest"

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 ...