useful URI for Amazon OpenSearch

Taegu KangTaegu Kang
1 min read
  • 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>
0
Subscribe to my newsletter

Read articles from Taegu Kang directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Taegu Kang
Taegu Kang