Skip to content

Commit

Permalink
Updated Kibana RESTful API version to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
manuasir committed Jul 22, 2019
1 parent 40bb635 commit 507d27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibana/config/kibana_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@ curl -POST "http://$kibana_ip:5601/api/kibana/settings" -H "Content-Type: applic

sleep 5
# 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"

0 comments on commit 507d27a

Please sign in to comment.