Deployment Architecture

Error when makign a REST POST call to Deployment server: bundle=serverclass stanza=serverClass:Test The sourceApp=system doesn't equal callerApp=search</

pfabrizi
Path Finder

I had this code working and now I am getting a 404 not found error.

I see this in the message:
bundle=serverclass stanza=serverClass:Test The sourceApp=system doesn't equal callerApp=search

services/deployment/server/serverclasses/server-class
args: whitelist.0= host1

Thanks!

Tags (1)
0 Karma

prakhersinghal
Explorer

Try using the edit REST endpoint for server class.

Replace
/services/deployment/server/serverclasses/server-class
with
/servicesNS/nobody/system/deployment/server/serverclasses/server-class

See if it works for you.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...