# There is any way to monitor error 400 and 500

**URL:** <https://discuss.elastic.co/t/there-is-any-way-to-monitor-error-400-and-500/305074>\
**Category:** Elastic Observability\
**Created:** [May 18, 2022, 1:18pm UTC](https://discuss.elastic.co/t/there-is-any-way-to-monitor-error-400-and-500/305074 "2022-05-18T13:18:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ricard-CT](https://avatars.discourse-cdn.com/v4/letter/r/74df32/32.png) [@Ricard-CT](https://discuss.elastic.co/u/Ricard-CT)\
**Post date:** [May 18, 2022, 1:18pm UTC](https://discuss.elastic.co/t/there-is-any-way-to-monitor-error-400-and-500/305074/1 "2022-05-18T13:18:16Z")

</div>

Hello,

I'm new to Elastic, I just installed ELK Server, and I want to monitor errors 400 and 500.  
Is there a way to show the errors without having to filter manually every time with:

`response : 400`

Let's say I have 1 log file where I get a bunch of errors 400 and 500 coming from different hosts.  
Ideally, I would like to have a "list" with all that different hosts showing the 400 or 500 err.

Thanks

---

<div class="post-metadata">

**Author:** ![emmma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/emmma/32/100838_2.png) [@emmma](https://discuss.elastic.co/u/emmma)\
**Post date:** [May 23, 2022, 12:49pm UTC](https://discuss.elastic.co/t/there-is-any-way-to-monitor-error-400-and-500/305074/2 "2022-05-23T12:49:13Z")

</div>

Hi Ricard,

I recommend to have a look at Alerting in Kibana Observability. You could use a Log Threshold rule on `response` field and grouping by `host.hostname` (see [documentation](https://www.elastic.co/guide/en/observability/current/logs-threshold-alert.html) for details).  
Hope that helps.

---

<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:35am UTC](https://discuss.elastic.co/t/there-is-any-way-to-monitor-error-400-and-500/305074/3 "2022-11-04T08:35:35Z")

</div>


