useful URI for Amazon OpenSearch

AWS/Amazon OpenSearch Service

  • outline

To set configuration and check of OpenSearch index using CURL.

  • how-to
## cluster setting
curl https://foobar.es.amazonaws.com/_cluster/settings?pretty
## cluster status
curl https://foobar.es.amazonaws.com/_cluster/health?pretty
## cluster master status
curl https://foobar.es.amazonaws.com/_cat/master?v
## index list
curl https://foobar.es.amazonaws.com/_cat/indices?v
## index
curl https://foobar.es.amazonaws.com/<index_name>?pretty
## index mapping
curl https://foobar.es.amazonaws.com/<index_name>/_mapping?pretty
## index delete
curl -X DELETE https://foobar.es.amazonaws.com/<index_name>