Skip to content

Commit

Permalink
Add missing type to http.response.body field (#7169) (#7356)
Browse files Browse the repository at this point in the history
The field `http.response.body` was missing its `text` type, thus
defaulting to `keyword`.

(cherry picked from commit a5bc550)
  • Loading branch information
adriansr authored and ph committed Jun 18, 2018
1 parent 1c9c536 commit 1e18f89
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ https://github.com/elastic/beats/compare/v6.3.0...6.3[Check the HEAD diff]
*Packetbeat*

- Fix an out of bounds access in HTTP parser caused by malformed request. {pull}6997[6997]
- Fix missing type for `http.response.body` field. {pull}7169[7169]

*Winlogbeat*

Expand Down
1 change: 1 addition & 0 deletions packetbeat/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@
same header name are present in the message, they will be separated
by commas.
- name: body
type: text
description: The body of the HTTP response.

- key: icmp
Expand Down
2 changes: 2 additions & 0 deletions packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2400,6 +2400,8 @@ A map containing the captured header fields from the response. Which headers to
*`http.response.body`*::
+
--
type: text
The body of the HTTP response.
--
Expand Down
1 change: 1 addition & 0 deletions packetbeat/protos/http/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@
same header name are present in the message, they will be separated
by commas.
- name: body
type: text
description: The body of the HTTP response.

0 comments on commit 1e18f89

Please sign in to comment.