Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes invalid 'number' type on 4 process.io subfields. #2105

Merged
merged 3 commits into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
# CHANGELOG
All notable changes to this project will be documented in this file based on the [Keep a Changelog](http://keepachangelog.com/) Standard. This project adheres to [Semantic Versioning](http://semver.org/).

## [8.5.2](https://github.com/elastic/ecs/compare/v8.5.1...v8.5.2)

### Schema Changes

#### Bugfixes

* Fixes invalid `number` type on 4 `process.io` subfields. #2105

## [8.5.1](https://github.com/elastic/ecs/compare/v8.5.0...v8.5.1)

### Tooling and Artifact Changes
Expand Down
8 changes: 4 additions & 4 deletions docs/fields/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8191,7 +8191,7 @@ a| beta:[ This field is beta and subject to change. ]

The length of bytes skipped.

type: number
type: long



Expand All @@ -8209,7 +8209,7 @@ a| beta:[ This field is beta and subject to change. ]

The byte offset into this event's io.text (or io.bytes in the future) where length bytes were skipped.

type: number
type: long



Expand Down Expand Up @@ -8265,7 +8265,7 @@ a| beta:[ This field is beta and subject to change. ]

The total number of bytes captured in this event.

type: number
type: long



Expand All @@ -8283,7 +8283,7 @@ a| beta:[ This field is beta and subject to change. ]

The total number of bytes that were not captured due to implementation restrictions such as buffer size limits. Implementors should strive to ensure this value is always zero

type: number
type: long



Expand Down
8 changes: 4 additions & 4 deletions experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6674,12 +6674,12 @@
default_field: false
- name: io.bytes_skipped.length
level: extended
type: number
type: long
description: The length of bytes skipped.
default_field: false
- name: io.bytes_skipped.offset
level: extended
type: number
type: long
description: The byte offset into this event's io.text (or io.bytes in the future)
where length bytes were skipped.
default_field: false
Expand All @@ -6702,12 +6702,12 @@
default_field: false
- name: io.total_bytes_captured
level: extended
type: number
type: long
description: The total number of bytes captured in this event.
default_field: false
- name: io.total_bytes_skipped
level: extended
type: number
type: long
description: The total number of bytes that were not captured due to implementation
restrictions such as buffer size limits. Implementors should strive to ensure
this value is always zero
Expand Down
8 changes: 4 additions & 4 deletions experimental/generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -730,12 +730,12 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.7.0-dev+exp,true,process,process.interactive,boolean,extended,,True,Whether the process is connected to an interactive shell.
8.7.0-dev+exp,true,process,process.io,object,extended,,,A chunk of input or output (IO) from a single process.
8.7.0-dev+exp,true,process,process.io.bytes_skipped,object,extended,array,,An array of byte offsets and lengths denoting where IO data has been skipped.
8.7.0-dev+exp,true,process,process.io.bytes_skipped.length,number,extended,,,The length of bytes skipped.
8.7.0-dev+exp,true,process,process.io.bytes_skipped.offset,number,extended,,,The byte offset into this event's io.text (or io.bytes in the future) where length bytes were skipped.
8.7.0-dev+exp,true,process,process.io.bytes_skipped.length,long,extended,,,The length of bytes skipped.
8.7.0-dev+exp,true,process,process.io.bytes_skipped.offset,long,extended,,,The byte offset into this event's io.text (or io.bytes in the future) where length bytes were skipped.
8.7.0-dev+exp,true,process,process.io.max_bytes_per_process_exceeded,boolean,extended,,,"If true, the process producing the output has exceeded the max_kilobytes_per_process configuration setting."
8.7.0-dev+exp,true,process,process.io.text,wildcard,extended,,,A chunk of output or input sanitized to UTF-8.
8.7.0-dev+exp,true,process,process.io.total_bytes_captured,number,extended,,,The total number of bytes captured in this event.
8.7.0-dev+exp,true,process,process.io.total_bytes_skipped,number,extended,,,The total number of bytes that were not captured due to implementation restrictions such as buffer size limits.
8.7.0-dev+exp,true,process,process.io.total_bytes_captured,long,extended,,,The total number of bytes captured in this event.
8.7.0-dev+exp,true,process,process.io.total_bytes_skipped,long,extended,,,The total number of bytes that were not captured due to implementation restrictions such as buffer size limits.
8.7.0-dev+exp,true,process,process.io.type,keyword,extended,,,The type of object on which the IO action (read or write) was taken.
8.7.0-dev+exp,true,process,process.macho.go_import_hash,keyword,extended,,10bddcb4cee42080f76c88d9ff964491,A hash of the Go language imports in a Mach-O file.
8.7.0-dev+exp,true,process,process.macho.go_imports,flattened,extended,,,List of imported Go language element names and types.
Expand Down
8 changes: 4 additions & 4 deletions experimental/generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9350,7 +9350,7 @@ process.io.bytes_skipped.length:
name: io.bytes_skipped.length
normalize: []
short: The length of bytes skipped.
type: number
type: long
process.io.bytes_skipped.offset:
beta: This field is beta and subject to change.
dashed_name: process-io-bytes-skipped-offset
Expand All @@ -9362,7 +9362,7 @@ process.io.bytes_skipped.offset:
normalize: []
short: The byte offset into this event's io.text (or io.bytes in the future) where
length bytes were skipped.
type: number
type: long
process.io.max_bytes_per_process_exceeded:
beta: This field is beta and subject to change.
dashed_name: process-io-max-bytes-per-process-exceeded
Expand Down Expand Up @@ -9399,7 +9399,7 @@ process.io.total_bytes_captured:
name: io.total_bytes_captured
normalize: []
short: The total number of bytes captured in this event.
type: number
type: long
process.io.total_bytes_skipped:
beta: This field is beta and subject to change.
dashed_name: process-io-total-bytes-skipped
Expand All @@ -9412,7 +9412,7 @@ process.io.total_bytes_skipped:
normalize: []
short: The total number of bytes that were not captured due to implementation restrictions
such as buffer size limits.
type: number
type: long
process.io.type:
beta: This field is beta and subject to change.
dashed_name: process-io-type
Expand Down
8 changes: 4 additions & 4 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11563,7 +11563,7 @@ process:
name: io.bytes_skipped.length
normalize: []
short: The length of bytes skipped.
type: number
type: long
process.io.bytes_skipped.offset:
beta: This field is beta and subject to change.
dashed_name: process-io-bytes-skipped-offset
Expand All @@ -11575,7 +11575,7 @@ process:
normalize: []
short: The byte offset into this event's io.text (or io.bytes in the future)
where length bytes were skipped.
type: number
type: long
process.io.max_bytes_per_process_exceeded:
beta: This field is beta and subject to change.
dashed_name: process-io-max-bytes-per-process-exceeded
Expand Down Expand Up @@ -11613,7 +11613,7 @@ process:
name: io.total_bytes_captured
normalize: []
short: The total number of bytes captured in this event.
type: number
type: long
process.io.total_bytes_skipped:
beta: This field is beta and subject to change.
dashed_name: process-io-total-bytes-skipped
Expand All @@ -11626,7 +11626,7 @@ process:
normalize: []
short: The total number of bytes that were not captured due to implementation
restrictions such as buffer size limits.
type: number
type: long
process.io.type:
beta: This field is beta and subject to change.
dashed_name: process-io-type
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,10 +688,10 @@
"bytes_skipped": {
"properties": {
"length": {
"type": "number"
"type": "long"
},
"offset": {
"type": "number"
"type": "long"
}
},
"type": "object"
Expand All @@ -703,10 +703,10 @@
"type": "wildcard"
},
"total_bytes_captured": {
"type": "number"
"type": "long"
},
"total_bytes_skipped": {
"type": "number"
"type": "long"
},
"type": {
"ignore_above": 1024,
Expand Down
8 changes: 4 additions & 4 deletions experimental/generated/elasticsearch/legacy/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -3395,10 +3395,10 @@
"bytes_skipped": {
"properties": {
"length": {
"type": "number"
"type": "long"
},
"offset": {
"type": "number"
"type": "long"
}
},
"type": "object"
Expand All @@ -3410,10 +3410,10 @@
"type": "wildcard"
},
"total_bytes_captured": {
"type": "number"
"type": "long"
},
"total_bytes_skipped": {
"type": "number"
"type": "long"
},
"type": {
"ignore_above": 1024,
Expand Down
8 changes: 4 additions & 4 deletions generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6624,12 +6624,12 @@
default_field: false
- name: io.bytes_skipped.length
level: extended
type: number
type: long
description: The length of bytes skipped.
default_field: false
- name: io.bytes_skipped.offset
level: extended
type: number
type: long
description: The byte offset into this event's io.text (or io.bytes in the future)
where length bytes were skipped.
default_field: false
Expand All @@ -6652,12 +6652,12 @@
default_field: false
- name: io.total_bytes_captured
level: extended
type: number
type: long
description: The total number of bytes captured in this event.
default_field: false
- name: io.total_bytes_skipped
level: extended
type: number
type: long
description: The total number of bytes that were not captured due to implementation
restrictions such as buffer size limits. Implementors should strive to ensure
this value is always zero
Expand Down
8 changes: 4 additions & 4 deletions generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -723,12 +723,12 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.7.0-dev,true,process,process.interactive,boolean,extended,,True,Whether the process is connected to an interactive shell.
8.7.0-dev,true,process,process.io,object,extended,,,A chunk of input or output (IO) from a single process.
8.7.0-dev,true,process,process.io.bytes_skipped,object,extended,array,,An array of byte offsets and lengths denoting where IO data has been skipped.
8.7.0-dev,true,process,process.io.bytes_skipped.length,number,extended,,,The length of bytes skipped.
8.7.0-dev,true,process,process.io.bytes_skipped.offset,number,extended,,,The byte offset into this event's io.text (or io.bytes in the future) where length bytes were skipped.
8.7.0-dev,true,process,process.io.bytes_skipped.length,long,extended,,,The length of bytes skipped.
8.7.0-dev,true,process,process.io.bytes_skipped.offset,long,extended,,,The byte offset into this event's io.text (or io.bytes in the future) where length bytes were skipped.
8.7.0-dev,true,process,process.io.max_bytes_per_process_exceeded,boolean,extended,,,"If true, the process producing the output has exceeded the max_kilobytes_per_process configuration setting."
8.7.0-dev,true,process,process.io.text,wildcard,extended,,,A chunk of output or input sanitized to UTF-8.
8.7.0-dev,true,process,process.io.total_bytes_captured,number,extended,,,The total number of bytes captured in this event.
8.7.0-dev,true,process,process.io.total_bytes_skipped,number,extended,,,The total number of bytes that were not captured due to implementation restrictions such as buffer size limits.
8.7.0-dev,true,process,process.io.total_bytes_captured,long,extended,,,The total number of bytes captured in this event.
8.7.0-dev,true,process,process.io.total_bytes_skipped,long,extended,,,The total number of bytes that were not captured due to implementation restrictions such as buffer size limits.
8.7.0-dev,true,process,process.io.type,keyword,extended,,,The type of object on which the IO action (read or write) was taken.
8.7.0-dev,true,process,process.macho.go_import_hash,keyword,extended,,10bddcb4cee42080f76c88d9ff964491,A hash of the Go language imports in a Mach-O file.
8.7.0-dev,true,process,process.macho.go_imports,flattened,extended,,,List of imported Go language element names and types.
Expand Down
8 changes: 4 additions & 4 deletions generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9281,7 +9281,7 @@ process.io.bytes_skipped.length:
name: io.bytes_skipped.length
normalize: []
short: The length of bytes skipped.
type: number
type: long
process.io.bytes_skipped.offset:
beta: This field is beta and subject to change.
dashed_name: process-io-bytes-skipped-offset
Expand All @@ -9293,7 +9293,7 @@ process.io.bytes_skipped.offset:
normalize: []
short: The byte offset into this event's io.text (or io.bytes in the future) where
length bytes were skipped.
type: number
type: long
process.io.max_bytes_per_process_exceeded:
beta: This field is beta and subject to change.
dashed_name: process-io-max-bytes-per-process-exceeded
Expand Down Expand Up @@ -9330,7 +9330,7 @@ process.io.total_bytes_captured:
name: io.total_bytes_captured
normalize: []
short: The total number of bytes captured in this event.
type: number
type: long
process.io.total_bytes_skipped:
beta: This field is beta and subject to change.
dashed_name: process-io-total-bytes-skipped
Expand All @@ -9343,7 +9343,7 @@ process.io.total_bytes_skipped:
normalize: []
short: The total number of bytes that were not captured due to implementation restrictions
such as buffer size limits.
type: number
type: long
process.io.type:
beta: This field is beta and subject to change.
dashed_name: process-io-type
Expand Down
8 changes: 4 additions & 4 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11483,7 +11483,7 @@ process:
name: io.bytes_skipped.length
normalize: []
short: The length of bytes skipped.
type: number
type: long
process.io.bytes_skipped.offset:
beta: This field is beta and subject to change.
dashed_name: process-io-bytes-skipped-offset
Expand All @@ -11495,7 +11495,7 @@ process:
normalize: []
short: The byte offset into this event's io.text (or io.bytes in the future)
where length bytes were skipped.
type: number
type: long
process.io.max_bytes_per_process_exceeded:
beta: This field is beta and subject to change.
dashed_name: process-io-max-bytes-per-process-exceeded
Expand Down Expand Up @@ -11533,7 +11533,7 @@ process:
name: io.total_bytes_captured
normalize: []
short: The total number of bytes captured in this event.
type: number
type: long
process.io.total_bytes_skipped:
beta: This field is beta and subject to change.
dashed_name: process-io-total-bytes-skipped
Expand All @@ -11546,7 +11546,7 @@ process:
normalize: []
short: The total number of bytes that were not captured due to implementation
restrictions such as buffer size limits.
type: number
type: long
process.io.type:
beta: This field is beta and subject to change.
dashed_name: process-io-type
Expand Down
8 changes: 4 additions & 4 deletions generated/elasticsearch/composable/component/process.json
Original file line number Diff line number Diff line change
Expand Up @@ -688,10 +688,10 @@
"bytes_skipped": {
"properties": {
"length": {
"type": "number"
"type": "long"
},
"offset": {
"type": "number"
"type": "long"
}
},
"type": "object"
Expand All @@ -703,10 +703,10 @@
"type": "wildcard"
},
"total_bytes_captured": {
"type": "number"
"type": "long"
},
"total_bytes_skipped": {
"type": "number"
"type": "long"
},
"type": {
"ignore_above": 1024,
Expand Down
8 changes: 4 additions & 4 deletions generated/elasticsearch/legacy/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -3353,10 +3353,10 @@
"bytes_skipped": {
"properties": {
"length": {
"type": "number"
"type": "long"
},
"offset": {
"type": "number"
"type": "long"
}
},
"type": "object"
Expand All @@ -3368,10 +3368,10 @@
"type": "wildcard"
},
"total_bytes_captured": {
"type": "number"
"type": "long"
},
"total_bytes_skipped": {
"type": "number"
"type": "long"
},
"type": {
"ignore_above": 1024,
Expand Down
Loading