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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...