nginx-ingress grok expression does not handle multiple upstreams #20813
Labels
in progress
Pull request is currently in progress.
Team:Platforms
Label for the Integrations - Platforms team
[zube]: In Progress
From https://discuss.elastic.co/t/nginx-ingress-grok-expression-does-not-handle-multiple-upstreams/246046
If nginx-ingress retries multiple upstreams, the grok expression does not parse it correctly and manifested as missing data when we knew errors were happening.
This is on filebeat 7.8.0, but issue does not appear to be resolved in 7.9.0.
Sanitised log output:
2 upstreams attempted
3 upstreams attempted
The response code the client sees, as well as the last upstream should be used as http.response.status_code and nginx.ingress_controller.upstream.ip/port, but I'm not super sure how the other status codes and upstreams should be emitted. I don't think it should be thrown away, however.
Reproduction:
The text was updated successfully, but these errors were encountered: