# Print some line to stdout, Logstash filter pipeline

**URL:** <https://discuss.elastic.co/t/print-some-line-to-stdout-logstash-filter-pipeline/245748>\
**Category:** Logstash\
**Created:** [August 20, 2020, 10:39am UTC](https://discuss.elastic.co/t/print-some-line-to-stdout-logstash-filter-pipeline/245748 "2020-08-20T10:39:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaclav1](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@vaclav1](https://discuss.elastic.co/u/vaclav1)\
**Post date:** [August 20, 2020, 10:39am UTC](https://discuss.elastic.co/t/print-some-line-to-stdout-logstash-filter-pipeline/245748/1 "2020-08-20T10:39:46Z")

</div>

Hello,

is there a way to print a line to stdout in filter pipeline some field, or any text? I have found there is stdout plugin to use, but have not found a single correct example how. Would be good to have some possibility to print something while plugins a re being applied and modifying event object. thanks

---

<div class="post-metadata">

**Author:** ![aaron-nimocks](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron-nimocks/32/73965_2.png) [@aaron-nimocks](https://discuss.elastic.co/u/aaron-nimocks)\
**Post date:** [August 20, 2020, 1:33pm UTC](https://discuss.elastic.co/t/print-some-line-to-stdout-logstash-filter-pipeline/245748/2 "2020-08-20T13:33:20Z")

</div>

I haven't seen an example or attempted this, but off the top of my head maybe using the ruby filter and writing the data you want out to a file might work. If a module that has that functionality is loaded also.

---

<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:** [September 17, 2020, 1:33pm UTC](https://discuss.elastic.co/t/print-some-line-to-stdout-logstash-filter-pipeline/245748/3 "2020-09-17T13:33:27Z")

</div>

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