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

**URL:** <https://discuss.elastic.co/t/elastic-dump-creates-index-but-index-not-found-in-elastic-search/246830>\
**Category:** Elasticsearch\
**Created:** [August 29, 2020, 4:52am UTC](https://discuss.elastic.co/t/elastic-dump-creates-index-but-index-not-found-in-elastic-search/246830 "2020-08-29T04:52:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rahul\_Seetharaman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahul_seetharaman/32/74754_2.png) [@Rahul\_Seetharaman](https://discuss.elastic.co/u/Rahul_Seetharaman)\
**Post date:** [August 29, 2020, 4:52am UTC](https://discuss.elastic.co/t/elastic-dump-creates-index-but-index-not-found-in-elastic-search/246830/1 "2020-08-29T04:52:08Z")

</div>

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

```auto
curl localhost:9200/{index_name}

```

I get the following error,

```auto
{"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"}

```

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 29, 2020, 6:21am UTC](https://discuss.elastic.co/t/elastic-dump-creates-index-but-index-not-found-in-elastic-search/246830/2 "2020-08-29T06:21:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 29, 2020, 10:55pm UTC](https://discuss.elastic.co/t/elastic-dump-creates-index-but-index-not-found-in-elastic-search/246830/3 "2020-08-29T22:55:11Z")

</div>

Hi @Rahul_Seetharaman

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

> **[elasticdump](https://www.npmjs.com/package/elasticdump)**
>
> import and export tools for elasticsearch. Latest version: 6.109.0, last published: 4 days ago. Start using elasticdump in your project by running \`npm i elasticdump\`. There are 27 other projects in the npm registry using elasticdump.

```
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 `}`

> [@Rahul\_Seetharaman](#):
>
> `curl localhost:9200/{index_name}`

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`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 26, 2020, 10:55pm UTC](https://discuss.elastic.co/t/elastic-dump-creates-index-but-index-not-found-in-elastic-search/246830/4 "2020-09-26T22:55:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
