Skip to content

Commit

Permalink
Temporarily add http fields, until they're back in ECS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Martin committed Nov 9, 2018
1 parent 835c9e5 commit 32ce077
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions libbeat/_meta/fields.common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,32 @@
type: keyword
description: >
Error type.
# HTTP field definitions below are temporary, until http makes its way into ECS again.
# See https://github.com/elastic/ecs/pull/171
- key: http
title: HTTP
fields:
- name: http.request.method
type: keyword
description: >
http request method.
example: get, post, put

- name: http.response.status_code
type: long
description: >
http response status code.
example: 404

- name: http.response.body
type: text
description: >
the full http response body.
example: hello world

- name: http.version
type: keyword
description: >
http version.
example: 1.1

0 comments on commit 32ce077

Please sign in to comment.