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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...