-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x-pack/filebeat/input/internal/httplog: log headers instead of reques…
…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.
- Loading branch information
Showing
1 changed file
with
5 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters