# DEV TOOLS - Group indexes into 1

**URL:** <https://discuss.elastic.co/t/dev-tools-group-indexes-into-1/324666>\
**Category:** Elasticsearch\
**Created:** [February 3, 2023, 2:53pm UTC](https://discuss.elastic.co/t/dev-tools-group-indexes-into-1/324666 "2023-02-03T14:53:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![vfeydel](https://avatars.discourse-cdn.com/v4/letter/v/c57346/32.png) [@vfeydel](https://discuss.elastic.co/u/vfeydel)\
**Post date:** [February 3, 2023, 2:53pm UTC](https://discuss.elastic.co/t/dev-tools-group-indexes-into-1/324666/1 "2023-02-03T14:53:29Z")

</div>

Hi,  
I have 66 index with a similar structure ike for example : abc\_1, abc\_2, abc\_3 .... abc\_n. They have a commun field name "identifiant". The id 1 may be in 1 or 2 or n index or only one and the same for the other id. I would like to create only one index with all the information from the id that are in all the index. I have try with devs tools but I think I did'nt have the correct way to do it because i'm novice with this tools of elastic.  
Do you think it is possible ? If yes, what are the keys to make it ?  
By advance thank you very much,  
Viviane

---

<div class="post-metadata">

**Author:** ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)\
**Post date:** [February 3, 2023, 3:04pm UTC](https://discuss.elastic.co/t/dev-tools-group-indexes-into-1/324666/2 "2023-02-03T15:04:06Z")

</div>

Hello @vfeydel , welcome to the community !  
You can use reindex API for this and specify the documents to be reindexed in new index using a query, which would essentially check if `id` field exists and its value matches your specific value.  
OR you can create an ingest pipeline for reindexing.  
Please refer: [Reindex API Examples](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#docs-reindex-api-example)  
and [Reindex API with Ingest Pipeline](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-with-an-ingest-pipeline)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 5, 2023, 10:15pm UTC](https://discuss.elastic.co/t/dev-tools-group-indexes-into-1/324666/3 "2023-02-05T22:15:22Z")

</div>

Welcome to our community! 😃

Or look at using an entity centric transform - [Transforming data | Elasticsearch Guide [8.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.6/transforms.html)

---

<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:** [March 5, 2023, 10:15pm UTC](https://discuss.elastic.co/t/dev-tools-group-indexes-into-1/324666/4 "2023-03-05T22:15:52Z")

</div>

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