# Http.response.status\_code\>=500 filter is not working

**URL:** <https://discuss.elastic.co/t/http-response-status-code-500-filter-is-not-working/376213>\
**Category:** User Experience\
**Created:** [March 21, 2025, 7:42am UTC](https://discuss.elastic.co/t/http-response-status-code-500-filter-is-not-working/376213 "2025-03-21T07:42:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tural\_Mirzayev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tural_mirzayev/32/137889_2.png) [@Tural\_Mirzayev](https://discuss.elastic.co/u/Tural_Mirzayev)\
**Post date:** [March 21, 2025, 7:42am UTC](https://discuss.elastic.co/t/http-response-status-code-500-filter-is-not-working/376213/1 "2025-03-21T07:42:30Z")

</div>

Hello everyone. I have problem with alert rule in elastic apm. I want to create " **Failed transaction rate threshold**" rule and filter only 500 errors using http.response.status\_code\>=500 filter. This filetr is work when i create " **Error count threshold"** but not work in **Failed transaction rate threshold**" .

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/9/292a3bc059e0670e3ad41f478cb759e4a2a33bbd.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/8/08be732e8b9d427a13ab0a2d4d1f26960def83d6.png)

as you can see in first picture for Error count threshold is work but same filter not work for \*Failed transaction rate threshold type rule. But actually there is more than 0.1% errors .A long story short why **http.response.status\_code** this filter not working for Failed transaction rate threshold .Could you help?
