Filter HTTP response code range

Hello

How do I filter for a range of response codes e.g., 400-499, 500-599 for a specific service?
I’ve tried the below but it doesn’t seem to work, it brings back status codes for other services too, not just the one I selected. The below is built up when I select 400-499 and 500-599:

andre_vdveen_0-1757942695029.png

Hi Andre,

The OR statement is probably causing this. Could you try:

Thanks @michiel_otten, you’re right, there were too many AND / OR in that original filter. This ended up giving me the correct results:

Service = "service_name" "HTTP status" >= 400 AND "HTTP status" <= 499 OR Service = "service_name" "HTTP status" >= 500 AND "HTTP status" <= 599