diff --git a/libbeat/_meta/fields.common.yml b/libbeat/_meta/fields.common.yml index d76631349a39..55fe3ee520a6 100644 --- a/libbeat/_meta/fields.common.yml +++ b/libbeat/_meta/fields.common.yml @@ -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