elastic / elastic/apm-agent-php

http.response.status_code not comming in apm logs

Open
#646 1 comment 0 reactions 0 assignees View on GitHub
agent-php cross APM agents enhancement priority: high triaged
Dominant language
PHP
Stars
268
Forks
86
PR merge metrics
No merged PRs in 30d

Description

Hi All, I installed APM-agent for PHP in my machine and logs are coming as well but in my other agent for different services I get **HTTP.response.status_code** field due to which I'm able to generate alerts if there is some 5xx or 4xx in the logs but when I installed APM-agent for PHP I'm not able to see this field.
So, is there any way I can enable this, or do we have another field that gives us the status code in logs? Please help me because I'm stuck for a long time.

Thank you in advance

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.