Skip to content

Commit

Permalink
WIP Update the HTTP field set with ECS definitions as of beta 2 (elas…
Browse files Browse the repository at this point in the history
…tic#9645)

- Introduces fields for http size metrics
- HTTP body field is now nested deeper:
  - `http.request.body` moves to `http.request.body.content`
  - `http.response.body` moves to `http.response.body.content`
  - packetbeat has been adjusted accordingly
- Introduces missing field definition updates (mainly to lowercase `method`)
- Unrelated: delete `x-pack/auditbeat/include/fields.go` which should have been deleted in elastic#9724.
  • Loading branch information
webmat committed Dec 21, 2018
1 parent cda144d commit ea749e1
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 3 deletions.
65 changes: 63 additions & 2 deletions docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1943,9 +1943,22 @@ Fields related to HTTP activity.
--
type: keyword
example: GET, POST, PUT
example: get, post, put
Http request method.
The field value must be normalized to lowercase for querying. See "Lowercase Capitalization" in the "Implementing ECS" section.
--
*`http.request.body.content`*::
+
--
type: keyword
example: Hello world
The full http request body.
--
Expand Down Expand Up @@ -1974,7 +1987,7 @@ Http response status code.
--
*`http.response.body`*::
*`http.response.body.content`*::
+
--
type: keyword
Expand All @@ -1996,6 +2009,54 @@ example: 1.1
Http version.
--
*`http.request.bytes`*::
+
--
type: long
example: 1437
Total size in bytes of the request (body and headers).
--
*`http.request.body.bytes`*::
+
--
type: long
example: 887
Size in bytes of the request body.
--
*`http.response.bytes`*::
+
--
type: long
example: 1437
Total size in bytes of the response (body and headers).
--
*`http.response.body.bytes`*::
+
--
type: long
example: 887
Size in bytes of the response body.
--
[float]
Expand Down
Loading

0 comments on commit ea749e1

Please sign in to comment.