# Using logstash, How to filter Errors only from logs?

**URL:** <https://discuss.elastic.co/t/using-logstash-how-to-filter-errors-only-from-logs/43234>\
**Category:** Logstash\
**Created:** [March 2, 2016, 11:32am UTC](https://discuss.elastic.co/t/using-logstash-how-to-filter-errors-only-from-logs/43234 "2016-03-02T11:32:45Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![baha1](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@baha1](https://discuss.elastic.co/u/baha1)\
**Post date:** [June 7, 2017, 2:31pm UTC](https://discuss.elastic.co/t/using-logstash-how-to-filter-errors-only-from-logs/43234/8 "2017-06-07T14:31:58Z")

</div>

thank you for answering,this is the link of the new thread.

> [@How to filter only error from log file](https://discuss.elastic.co/t/how-to-filter-only-error-from-log-file/88591):
>
> Hi community, i have a log file contains INFO,WARN and ERROR like : 17:37:17,103 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].....rest of text. what is the convenient grok to filter only All errors. Thanks for any help.

---

_[View the full topic](https://discuss.elastic.co/t/using-logstash-how-to-filter-errors-only-from-logs/43234)._
