Getting Data In

set deploy-poll via rest

dominiquevocat
SplunkTrust
SplunkTrust

I fail to see in the docs how you can delete/edit/set the deploy-poll setting via REST. Anyone knows how to?

0 Karma

kvaga
Explorer

curl -k -u admin:changeme https://splunkforwarderServerName.domain:8089/services/deployment/client/config/ -d targetUri=deploymentServerName.domain:8089

0 Karma

twinspop
Influencer

There is a REST endpoint for changing arbitrary config file properties.

curl -ku admin:changeme https://localhost:8089/services/properties/deploymentclient/target-broker:deploymentServer/targetUri -d value=your_splunk_ds:8089

Don't forget to restart after:

curl -ku admin:changeme https://localhost:8089/services/server/control/restart -X POST

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