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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...