# How to print error message only?

**URL:** <https://discuss.elastic.co/t/how-to-print-error-message-only/62781>\
**Category:** Logstash\
**Created:** [October 12, 2016, 6:17am UTC](https://discuss.elastic.co/t/how-to-print-error-message-only/62781 "2016-10-12T06:17:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rayen\_Yang](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@Rayen\_Yang](https://discuss.elastic.co/u/Rayen_Yang)\
**Post date:** [October 12, 2016, 6:17am UTC](https://discuss.elastic.co/t/how-to-print-error-message-only/62781/1 "2016-10-12T06:17:25Z")

</div>

I use **_--quiet_** flag to run logstash,but some other messages are still printed,like that:

**_{"timestamp":"2016-10-12T14:04:20.168000+0800","message":"Pipeline main started"}_**

anthing I miss?

---

<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:** [July 6, 2017, 4:34am UTC](https://discuss.elastic.co/t/how-to-print-error-message-only/62781/2 "2017-07-06T04:34:38Z")

</div>

Closed on July 6, 2017, 4:34am UTC


