There is any way to monitor error 400 and 500

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

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 for details).
Hope that helps.