Getting Data In

set deploy-poll via rest

dominiquevocat
Motivator

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!

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