# Can I set up pipeline processor on index level

**URL:** <https://discuss.elastic.co/t/can-i-set-up-pipeline-processor-on-index-level/148674>\
**Category:** Elasticsearch\
**Created:** [September 14, 2018, 7:18pm UTC](https://discuss.elastic.co/t/can-i-set-up-pipeline-processor-on-index-level/148674 "2018-09-14T19:18:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vvelichkovich](https://avatars.discourse-cdn.com/v4/letter/v/edb3f5/32.png) [@vvelichkovich](https://discuss.elastic.co/u/vvelichkovich)\
**Post date:** [September 14, 2018, 7:18pm UTC](https://discuss.elastic.co/t/can-i-set-up-pipeline-processor-on-index-level/148674/1 "2018-09-14T19:18:10Z")

</div>

Is there a way to set up pipeline to be always used on an index when new document is indexed?  
I know I can specify it with each document, but it feels there should be way to just set it up once, since this anyway does pre-processing before indexing.

So, I know I can do this:  
PUT my\_index/my\_type/1?pipeline=test  
{.....}

But I want every document to go through clean up that I set up in test pipeline.

---

<div class="post-metadata">

**Author:** ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)\
**Post date:** [September 14, 2018, 10:31pm UTC](https://discuss.elastic.co/t/can-i-set-up-pipeline-processor-on-index-level/148674/2 "2018-09-14T22:31:08Z")

</div>

This feature is coming in 6.5:

> <https://github.com/elastic/elasticsearch/pull/32286>

---

<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:** [October 12, 2018, 10:31pm UTC](https://discuss.elastic.co/t/can-i-set-up-pipeline-processor-on-index-level/148674/3 "2018-10-12T22:31:11Z")

</div>

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