Skip to content

Instantly share code, notes, and snippets.

@Simonx123
Forked from Callonski/xpac_monitoring.sh
Last active September 7, 2020 01:04
Show Gist options
  • Save Simonx123/aa314a9eeef4a6ed48addeff1923a989 to your computer and use it in GitHub Desktop.
Save Simonx123/aa314a9eeef4a6ed48addeff1923a989 to your computer and use it in GitHub Desktop.
################### ENABLE X-PAC MONITORING ####################
curl -X PUT "0.0.0.0:9200/_cluster/settings?pretty" -H 'Content-Type: application/json' -d' {"persistent": {"xpack.monitoring.collection.enabled": true}}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment