# How to process again documents already ingested

**URL:** <https://discuss.elastic.co/t/how-to-process-again-documents-already-ingested/250716>\
**Category:** Elasticsearch\
**Created:** [October 1, 2020, 3:45pm UTC](https://discuss.elastic.co/t/how-to-process-again-documents-already-ingested/250716 "2020-10-01T15:45:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [October 1, 2020, 3:45pm UTC](https://discuss.elastic.co/t/how-to-process-again-documents-already-ingested/250716/1 "2020-10-01T15:45:20Z")

</div>

Hi all,  
I would like to know if there is a way to process again documents already saved into the indices.  
I noticed that my Logstash pipeline was not completed so now I know like to process a specific field.

in my documents, I have a field named `build_type` (generally with values like `/OPS/service/build/username`). I would like to extract a portion of that field for every documents.

thanks

---

<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:** [October 1, 2020, 9:09pm UTC](https://discuss.elastic.co/t/how-to-process-again-documents-already-ingested/250716/2 "2020-10-01T21:09:34Z")

</div>

If you want to run them through Logstash you will want to use the `elasticsearch` input and then run that through the rest of your config.

---

<div class="post-metadata">

**Author:** ![rschirin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rschirin/32/45283_2.png) [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Post date:** [October 2, 2020, 6:58am UTC](https://discuss.elastic.co/t/how-to-process-again-documents-already-ingested/250716/3 "2020-10-02T06:58:21Z")

</div>

so, in my input section I must use `elasticsearch` plugin and the ingest them again?

---

<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 2, 2020, 6:59am UTC](https://discuss.elastic.co/t/how-to-process-again-documents-already-ingested/250716/4 "2020-10-02T06:59:53Z")

</div>

The easiest way to do this is probably to use the reindex API with an ingest pipeline to make the change you are looking for.

---

<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 30, 2020, 7:00am UTC](https://discuss.elastic.co/t/how-to-process-again-documents-already-ingested/250716/5 "2020-10-30T07:00:01Z")

</div>

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