curl -u elastic:password_elastic -X GET "https:/elastic1.org:9200/_cat/master"
curl -u elastic:password_elastic -X GET "https:/elastic2.org:9200/_cluster/health?pretty"
curl -u elastic:password_elastic -X GET "https:/elastic2.org:9200/_cat/health?h=status
curl -u elastic:password_elastic -X GET "https:/elastic2.org:9200/_nodes/jvm?pretty"
curl -u elastic:password_elastic -X GET "https:/elastic2.org:9200/_nodes/stats/jvm?pretty"
curl -u elastic:password_elastic -X GET "https:/elastic1.org:9200/my_index/_search?pretty"
curl -X POST -k -u elastic:password_elastic "https://elastic1.local:9200/my_index/_doc/" -H 'Content-Type: application/json' -d '{ "title": "Elasticsearch Basics", "author": "John Doe IV", "published_year": 2025 }'
Connaitre le statut du Kibana :
curl -u elastic:password_elastic -X GET "https:/elastic1.org:5601/api/status"