how to set up elasticsearch index code example
Example 1: elastic create index
PUT /my-index-000001
// or with curl
curl -X PUT "localhost:9200/my-index-000001?pretty"
Example 2: elasticsearch get indices
curl http://localhost:9200/_aliases?pretty=true