# How to re-insert json data retrieved in Elasticsearch

**URL:** <https://discuss.elastic.co/t/how-to-re-insert-json-data-retrieved-in-elasticsearch/299695>\
**Category:** Elasticsearch\
**Created:** [March 15, 2022, 7:18am UTC](https://discuss.elastic.co/t/how-to-re-insert-json-data-retrieved-in-elasticsearch/299695 "2022-03-15T07:18:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![111505](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111505/32/94191_2.png) [@111505](https://discuss.elastic.co/u/111505)\
**Post date:** [March 15, 2022, 7:18am UTC](https://discuss.elastic.co/t/how-to-re-insert-json-data-retrieved-in-elasticsearch/299695/1 "2022-03-15T07:18:57Z")

</div>

I want to put the searched Json Data as below in Elasticsearch of another cluster. Will it be possible?

Json file

```auto
    "_type" : "_doc",
    "_id" : "1",
    "_score" : 1.0,
    "_source" : {
      "helpMe" : "hi hi hi hi hi",
    },
    "_type" : "_doc",
    "_id" : "2",
    "_score" : 1.0,
    "_source" : {
      "helpMe" : "hi hi hi hi hi",
    },
    "_type" : "_doc",
    "_id" : "3",
    "_score" : 1.0,
    "_source" : {
      "helpMe" : "hi hi hi hi hi",
    }...

```

or

```auto
"hits" : {
    "_type" : "_doc",
    "_id" : "1",
    "_score" : 1.0,
    "_source" : {
      "helpMe" : "hi hi hi hi hi",
    },
    "_type" : "_doc",
    "_id" : "2",
    "_score" : 1.0,
    "_source" : {
      "helpMe" : "hi hi hi hi hi",
    },
    "_type" : "_doc",
    "_id" : "3",
    "_score" : 1.0,
    "_source" : {
      "helpMe" : "hi hi hi hi hi",
    }...
}

```

I want to move the json I searched in cluster A to another cluster. (Don't use snap-shot)  
like "elasticdump"

---

<div class="post-metadata">

**Author:** ![casterQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casterq/32/93257_2.png) [@casterQ](https://discuss.elastic.co/u/casterQ)\
**Post date:** [March 15, 2022, 7:23am UTC](https://discuss.elastic.co/t/how-to-re-insert-json-data-retrieved-in-elasticsearch/299695/2 "2022-03-15T07:23:20Z")

</div>

Reindex from reroute

> **[Reindex API | Elasticsearch Guide \[8.1\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/docs-reindex.html#reindex-from-remote)**

---

<div class="post-metadata">

**Author:** ![111505](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111505/32/94191_2.png) [@111505](https://discuss.elastic.co/u/111505)\
**Post date:** [March 15, 2022, 7:37am UTC](https://discuss.elastic.co/t/how-to-re-insert-json-data-retrieved-in-elasticsearch/299695/3 "2022-03-15T07:37:54Z")

</div>

I want to delete the posts. i'm solved.  
Should be implemented directly.

---

<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:** [April 12, 2022, 7:38am UTC](https://discuss.elastic.co/t/how-to-re-insert-json-data-retrieved-in-elasticsearch/299695/4 "2022-04-12T07:38:38Z")

</div>

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