Elastic dump creates index, but index not found in elastic search

I am using the elastic dump command to push my data to Elasticsearch running locally on port 9200.
While elasticdump command itself does not give any error, while doing

curl localhost:9200/{index_name}

I get the following error,

{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"unravel","index_uuid":"_na_","index":"unravel"}],"type":"index_not_found_exception","reason":"no such index","resource.type":"index_or_alias","resource.id":"unravel","index_uuid":"_na_","index":"unravel"}

Which version of Elasticsearch are you indexing into? Where is the data coming from? Is there anything in the Elasticsearch logs?

I have never used elasticdump so do not know if it is possible to alter logging level.

Hi @Rahul_Seetharaman

Assuming you are talking about elasticdump is should give output while it is loading docs like

elasticdump \
      --input=./example_index.json \
      --output=http://localhost:9200/example_index  \
      --type=data

It should have output something like....

Sat, 29 Aug 2020 22:42:28 GMT | starting dump
Sat, 29 Aug 2020 22:42:28 GMT | got 100 objects from source file (offset: 0)
Sat, 29 Aug 2020 22:42:29 GMT | sent 100 objects to destination elasticsearch, wrote 100
Sat, 29 Aug 2020 22:42:29 GMT | got 100 objects from source file (offset: 100)
Sat, 29 Aug 2020 22:42:29 GMT | sent 100 objects to destination elasticsearch, wrote 100
Sat, 29 Aug 2020 22:42:29 GMT | got 100 objects from source file (offset: 200)
......

I am unclear about your command there should be no { =or }

To list indices

curl localhost:9200/_cat/indices

Then look for your index name

To show the index mappings / settings etc

curl localhost:9200/example_index?pretty

To show a couple documents
curl localhost:9200/example_index/_search?pretty