logstash-plugins / logstash-filter-http

HTTP Filter Plugin for Logstash
Apache License 2.0
12 stars 29 forks source link

include http status code in metadata #42

Open yaauie opened 2 years ago

yaauie commented 2 years ago

Release notes

The HTTP status code for each request is now included in the response metadata.

What does this PR do?

Adds HTTP status code of response

Why is it important/What is the impact to the user?

Adds HTTP status code of response, so that a pipeline can differentiate between the semantics of different error status codes. For example, in some contexts a 404 (Not Found) is substantially different than a 400 (Bad Request), and it may be helpful for downstream plugins in a pipeline to handle the two cases separately.

Checklist

Related issues