# Sync between multiple indices

**URL:** <https://discuss.elastic.co/t/sync-between-multiple-indices/369331>\
**Category:** Elasticsearch\
**Created:** [October 24, 2024, 8:31am UTC](https://discuss.elastic.co/t/sync-between-multiple-indices/369331 "2024-10-24T08:31:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![prempatell](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@prempatell](https://discuss.elastic.co/u/prempatell)\
**Post date:** [October 24, 2024, 8:31am UTC](https://discuss.elastic.co/t/sync-between-multiple-indices/369331/1 "2024-10-24T08:31:15Z")

</div>

Hi,  
I got a requirement of indexing a document in multiple indices each having their own ingestion pipeline.

Constraint: the API call to add a document will only be done to primary index.  
Need to build a sync such that document flows through primary index to secondary ones processed via their ingestion pipeline.

Like reroute processor redirects to another index, I want it to be added in both source and rerouted index.

---

<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:** [October 24, 2024, 8:36am UTC](https://discuss.elastic.co/t/sync-between-multiple-indices/369331/2 "2024-10-24T08:36:55Z")

</div>

I do believe that is not possible so you would likely need to index directly into multiple indices.
