Updated Kibana RESTful API version to v2

This commit is contained in:
manuasir
2019-07-22 16:30:26 +02:00
parent 40bb635036
commit 507d27a448

View File

@@ -74,6 +74,6 @@ curl -POST "http://$kibana_ip:5601/api/kibana/settings" -H "Content-Type: applic
sleep 5 sleep 5
# Do not ask user to help providing usage statistics to Elastic # Do not ask user to help providing usage statistics to Elastic
curl -POST "http://$kibana_ip:5601/api/telemetry/v1/optIn" -H "Content-Type: application/json" -H "kbn-xsrf: true" -d '{"enabled":false}' curl -POST "http://$kibana_ip:5601/api/telemetry/v2/optIn" -H "Content-Type: application/json" -H "kbn-xsrf: true" -d '{"enabled":false}'
echo "End settings" echo "End settings"