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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...