# How to pause the logstash output temporarily

**URL:** <https://discuss.elastic.co/t/how-to-pause-the-logstash-output-temporarily/350841>\
**Category:** Logstash\
**Created:** [January 11, 2024, 9:12am UTC](https://discuss.elastic.co/t/how-to-pause-the-logstash-output-temporarily/350841 "2024-01-11T09:12:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jevonsnotes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jevonsnotes/32/130317_2.png) [@jevonsnotes](https://discuss.elastic.co/u/jevonsnotes)\
**Post date:** [January 11, 2024, 9:12am UTC](https://discuss.elastic.co/t/how-to-pause-the-logstash-output-temporarily/350841/1 "2024-01-11T09:12:26Z")

</div>

how to keep the logstash accept the input data but pause the output temporarily?

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [January 11, 2024, 10:20am UTC](https://discuss.elastic.co/t/how-to-pause-the-logstash-output-temporarily/350841/2 "2024-01-11T10:20:27Z")

</div>

Check [here](https://discuss.elastic.co/t/pause-between-events-ingested-in-elasticsearch/314025).

---

<div class="post-metadata">

**Author:** ![jevonsnotes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jevonsnotes/32/130317_2.png) [@jevonsnotes](https://discuss.elastic.co/u/jevonsnotes)\
**Post date:** [January 12, 2024, 12:48am UTC](https://discuss.elastic.co/t/how-to-pause-the-logstash-output-temporarily/350841/3 "2024-01-12T00:48:58Z")

</div>

thks bro,but its not my need.i want something like api which can be triggered manualy

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [January 12, 2024, 5:36am UTC](https://discuss.elastic.co/t/how-to-pause-the-logstash-output-temporarily/350841/4 "2024-01-12T05:36:49Z")

</div>

Then you write exactly what you need.

If you want only in the output, according to LS design, data will be transform in the filter. There is an option to send "sleeping data" to a new pipeline in the output, where you data in sleep. If there is no plugin, write your own ruby code. Again, maybe someone will have a better idea.

---

<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:** [February 9, 2024, 5:37am UTC](https://discuss.elastic.co/t/how-to-pause-the-logstash-output-temporarily/350841/5 "2024-02-09T05:37:22Z")

</div>

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