# How to make a document update without Logstash

**URL:** <https://discuss.elastic.co/t/how-to-make-a-document-update-without-logstash/236518>\
**Category:** Elastic Stack\
**Created:** [June 10, 2020, 1:32pm UTC](https://discuss.elastic.co/t/how-to-make-a-document-update-without-logstash/236518 "2020-06-10T13:32:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julien1](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@Julien1](https://discuss.elastic.co/u/Julien1)\
**Post date:** [June 10, 2020, 1:32pm UTC](https://discuss.elastic.co/t/how-to-make-a-document-update-without-logstash/236518/1 "2020-06-10T13:32:00Z")

</div>

Hello,

in order to put document in elasticsearch, I actually use Filebeat and Logstash : Filebeat read logs and put then to logstash which reformats and puts data to Elasticsearch.

Actually I use the logstash options "action" and "doc\_as\_upsert" to permit document update :  
action =\> "update"  
doc\_as\_upsert =\> true

I want to stop use logstash. Is there a solution to make document update without logstash (in Filebeat or Elasticsearch) ?

Thanks.

---

<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:** [November 4, 2022, 8:01am UTC](https://discuss.elastic.co/t/how-to-make-a-document-update-without-logstash/236518/2 "2022-11-04T08:01:56Z")

</div>


