Elasticsearch Curl Commands Create an Index


Example

curl -XPUT 'www.example.com:9200/myIndexName?pretty'

Output:

{
  "acknowledged" : true
}

Reference Link: Here