-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x-pack/filebeat/input/internal/httplog: log headers instead of request/response #41072
Conversation
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
This pull request is now in conflicts. Could you fix it? 🙏
|
…t/response Add logging of structured fields for request and response headers and drop logging of request/response using httputil. We lose no significant information from dropping the request logging; in requests there will be an "Accept-Encoding: gzip" that we do not get in the headers, but this is always present in all requests from beats clients. The benefit of including headers as structured data is that we gain the ability to more easily search logs for header values.
/test |
…t/response (#41072) Add logging of structured fields for request and response headers and drop logging of request/response using httputil. We lose no significant information from dropping the request logging; in requests there will be an "Accept-Encoding: gzip" that we do not get in the headers, but this is always present in all requests from beats clients. The benefit of including headers as structured data is that we gain the ability to more easily search logs for header values. (cherry picked from commit c3dc5a9)
…t/response (#41072) Add logging of structured fields for request and response headers and drop logging of request/response using httputil. We lose no significant information from dropping the request logging; in requests there will be an "Accept-Encoding: gzip" that we do not get in the headers, but this is always present in all requests from beats clients. The benefit of including headers as structured data is that we gain the ability to more easily search logs for header values. (cherry picked from commit c3dc5a9)
…t/response (#41072) (#41138) Add logging of structured fields for request and response headers and drop logging of request/response using httputil. We lose no significant information from dropping the request logging; in requests there will be an "Accept-Encoding: gzip" that we do not get in the headers, but this is always present in all requests from beats clients. The benefit of including headers as structured data is that we gain the ability to more easily search logs for header values. (cherry picked from commit c3dc5a9) Co-authored-by: Dan Kortschak <[email protected]>
Proposed commit message
Add logging of structured fields for request and response headers and drop logging of request/response using httputil. We lose no significant information from dropping the request logging; in requests there will be an "Accept-Encoding: gzip" that we do not get in the headers, but this is always present in all requests from beats clients. The benefit of including headers as structured data is that we gain the ability to more easily search logs for header values.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs