Getting Data In

set deploy-poll via rest

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

Explorer

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

0 Karma

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
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!