Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Thanks, you're awesome :-) -->

#### Added

* Added `http.request.id`. #1208

#### Improvements

#### Deprecated
Expand Down
3 changes: 3 additions & 0 deletions code/go/ecs/http.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions docs/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3383,6 +3383,22 @@ example: `1437`

// ===============================================================

|
[[field-http-request-id]]
<<field-http-request-id, http.request.id>>

| A unique identifier for each HTTP request.

type: keyword



example: `123e4567-e89b-12d3-a456-426614174000`

| extended

// ===============================================================

|
[[field-http-request-method]]
<<field-http-request-method, http.request.method>>
Expand Down
7 changes: 7 additions & 0 deletions experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2361,6 +2361,13 @@
format: bytes
description: Total size in bytes of the request (body and headers).
example: 1437
- name: request.id
level: extended
type: keyword
ignore_above: 1024
description: A unique identifier for each HTTP request.
example: 123e4567-e89b-12d3-a456-426614174000
default_field: false
- name: request.method
level: extended
type: keyword
Expand Down
1 change: 1 addition & 0 deletions experimental/generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
2.0.0-dev+exp,true,http,http.request.body.content,wildcard,extended,,Hello world,The full HTTP request body.
2.0.0-dev+exp,true,http,http.request.body.content.text,text,extended,,Hello world,The full HTTP request body.
2.0.0-dev+exp,true,http,http.request.bytes,long,extended,,1437,Total size in bytes of the request (body and headers).
2.0.0-dev+exp,true,http,http.request.id,keyword,extended,,123e4567-e89b-12d3-a456-426614174000,HTTP request ID.
2.0.0-dev+exp,true,http,http.request.method,keyword,extended,,"GET, POST, PUT, PoST",HTTP request method.
2.0.0-dev+exp,true,http,http.request.mime_type,keyword,extended,,image/gif,Mime type of the body of the request.
2.0.0-dev+exp,true,http,http.request.referrer,wildcard,extended,,https://blog.example.com/,Referrer for this HTTP request.
Expand Down
11 changes: 11 additions & 0 deletions experimental/generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3786,6 +3786,17 @@ http.request.bytes:
normalize: []
short: Total size in bytes of the request (body and headers).
type: long
http.request.id:
dashed_name: http-request-id
description: A unique identifier for each HTTP request.
example: 123e4567-e89b-12d3-a456-426614174000
flat_name: http.request.id
ignore_above: 1024
level: extended
name: request.id
normalize: []
short: HTTP request ID.
type: keyword
http.request.method:
dashed_name: http-request-method
description: 'HTTP request method.
Expand Down
11 changes: 11 additions & 0 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4479,6 +4479,17 @@ http:
normalize: []
short: Total size in bytes of the request (body and headers).
type: long
http.request.id:
dashed_name: http-request-id
description: A unique identifier for each HTTP request.
example: 123e4567-e89b-12d3-a456-426614174000
flat_name: http.request.id
ignore_above: 1024
level: extended
name: request.id
normalize: []
short: HTTP request ID.
type: keyword
http.request.method:
dashed_name: http-request-method
description: 'HTTP request method.
Expand Down
4 changes: 4 additions & 0 deletions experimental/generated/elasticsearch/7/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,10 @@
"bytes": {
"type": "long"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"method": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
4 changes: 4 additions & 0 deletions experimental/generated/elasticsearch/component/http.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"bytes": {
"type": "long"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"method": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
7 changes: 7 additions & 0 deletions generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2315,6 +2315,13 @@
format: bytes
description: Total size in bytes of the request (body and headers).
example: 1437
- name: request.id
level: extended
type: keyword
ignore_above: 1024
description: A unique identifier for each HTTP request.
example: 123e4567-e89b-12d3-a456-426614174000
default_field: false
- name: request.method
level: extended
type: keyword
Expand Down
1 change: 1 addition & 0 deletions generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
2.0.0-dev,true,http,http.request.body.content,wildcard,extended,,Hello world,The full HTTP request body.
2.0.0-dev,true,http,http.request.body.content.text,text,extended,,Hello world,The full HTTP request body.
2.0.0-dev,true,http,http.request.bytes,long,extended,,1437,Total size in bytes of the request (body and headers).
2.0.0-dev,true,http,http.request.id,keyword,extended,,123e4567-e89b-12d3-a456-426614174000,HTTP request ID.
2.0.0-dev,true,http,http.request.method,keyword,extended,,"GET, POST, PUT, PoST",HTTP request method.
2.0.0-dev,true,http,http.request.mime_type,keyword,extended,,image/gif,Mime type of the body of the request.
2.0.0-dev,true,http,http.request.referrer,wildcard,extended,,https://blog.example.com/,Referrer for this HTTP request.
Expand Down
11 changes: 11 additions & 0 deletions generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3712,6 +3712,17 @@ http.request.bytes:
normalize: []
short: Total size in bytes of the request (body and headers).
type: long
http.request.id:
dashed_name: http-request-id
description: A unique identifier for each HTTP request.
example: 123e4567-e89b-12d3-a456-426614174000
flat_name: http.request.id
ignore_above: 1024
level: extended
name: request.id
normalize: []
short: HTTP request ID.
type: keyword
http.request.method:
dashed_name: http-request-method
description: 'HTTP request method.
Expand Down
11 changes: 11 additions & 0 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4405,6 +4405,17 @@ http:
normalize: []
short: Total size in bytes of the request (body and headers).
type: long
http.request.id:
dashed_name: http-request-id
description: A unique identifier for each HTTP request.
example: 123e4567-e89b-12d3-a456-426614174000
flat_name: http.request.id
ignore_above: 1024
level: extended
name: request.id
normalize: []
short: HTTP request ID.
type: keyword
http.request.method:
dashed_name: http-request-method
description: 'HTTP request method.
Expand Down
4 changes: 4 additions & 0 deletions generated/elasticsearch/6/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1270,6 +1270,10 @@
"bytes": {
"type": "long"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"method": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
4 changes: 4 additions & 0 deletions generated/elasticsearch/7/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,10 @@
"bytes": {
"type": "long"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"method": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
4 changes: 4 additions & 0 deletions generated/elasticsearch/component/http.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"bytes": {
"type": "long"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"method": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
9 changes: 9 additions & 0 deletions schemas/http.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
type: group
fields:

- name: request.id
level: extended
type: keyword
short: HTTP request ID.
description: >
A unique identifier for each HTTP request.
Comment thread
graphaelli marked this conversation as resolved.
Outdated

example: 123e4567-e89b-12d3-a456-426614174000

- name: request.method
level: extended
type: keyword
Expand Down