# Adding multiple ingest pipelines to an index

**URL:** https://discuss.elastic.co/t/adding-multiple-ingest-pipelines-to-an-index/361015
**Category:** Kibana
**Created:** [June 7, 2024, 6:32am UTC](https://discuss.elastic.co/t/adding-multiple-ingest-pipelines-to-an-index/361015 "2024-06-07T06:32:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![RajuParipelly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajuparipelly/32/117473_2.png) [@RajuParipelly](https://discuss.elastic.co/u/RajuParipelly)
#### Post date: [June 7, 2024, 6:32am UTC](https://discuss.elastic.co/t/adding-multiple-ingest-pipelines-to-an-index/361015/1 "2024-06-07T06:32:43Z")

</div>

Hi,

How can we add multiple ingest pipelines to an index ? I have 30 ingest pipelines need to be added to an index pattern? is there any way to do this?

Thanks in advance

---

<div class="post-metadata">

### Author: ![Keith\_Massey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/keith_massey/32/83666_2.png) [@Keith\_Massey](https://discuss.elastic.co/u/Keith_Massey)
#### Post date: [June 7, 2024, 1:47pm UTC](https://discuss.elastic.co/t/adding-multiple-ingest-pipelines-to-an-index/361015/2 "2024-06-07T13:47:07Z")

</div>

Hi @RajuParipelly. An index can only have at most one default pipeline and one final pipeline. But your default pipeline could execute multiple pipelines by using [pipeline processors](https://www.elastic.co/guide/en/elasticsearch/reference/current/pipeline-processor.html). Does this do what you want?

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [June 7, 2024, 2:09pm UTC](https://discuss.elastic.co/t/adding-multiple-ingest-pipelines-to-an-index/361015/3 "2024-06-07T14:09:20Z")

</div>

> [@RajuParipelly](#):
>
> I have 30 ingest pipelines need to be added to an index pattern? is there any way to do this?

You will need to add one pipeline as the `default_pipeline` or `final_pipeline`, and then this pipeline would have multiple `pipeline` processors calling your other ingest pipelines.

Keep in mind that this would be executes sequentially, a `pipeline` processor will be called only after the previous pipeline has finished.

Also, if you are using Elastic Agent integrations you cannot change neither the `default_pipeline` or the `final_pipeline`, you need to use the `@custom` ingest pipeline of each integration.

---

<div class="post-metadata">

### Author: ![RajuParipelly](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajuparipelly/32/117473_2.png) [@RajuParipelly](https://discuss.elastic.co/u/RajuParipelly)
#### Post date: [June 10, 2024, 4:42am UTC](https://discuss.elastic.co/t/adding-multiple-ingest-pipelines-to-an-index/361015/4 "2024-06-10T04:42:41Z")

</div>

Thanks @leandrojmp
