Skip to content

Commit

Permalink
Remove deprecated fields from v9.x (#2410)
Browse files Browse the repository at this point in the history
Remove deprecated fields from the previous major release:

* process.parent.pgid
* process.pgid
* service.node.role
* service.origin.node.role
* service.target.node.role
  • Loading branch information
mjwolf authored Feb 4, 2025
1 parent 9ed5109 commit ede6f40
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 202 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Thanks, you're awesome :-) -->

#### Breaking changes

* Remove deprecated fields from previous major release; `process.pgid`, `service.node.role`, and inherited users. #2410

#### Bugfixes

* Fix link rendering issues and usage of http in links. #2423
Expand Down
18 changes: 0 additions & 18 deletions docs/fields/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8624,24 +8624,6 @@ Multi-fields:

example: `ssh`

| extended

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

|
[[field-process-pgid]]
<<field-process-pgid, process.pgid>>

a| Deprecated for removal in next major version release. This field is superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.

type: long





| extended

// ===============================================================
Expand Down
2 changes: 1 addition & 1 deletion docs/opentelemetry/otel-mapping-summary.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ h| Namespace


| Process
^| <<ecs-process,37>>
^| <<ecs-process,36>>
^| https://opentelemetry.io/docs/specs/semconv/attributes-registry/process[33]
^| 15
^| 2
Expand Down
17 changes: 0 additions & 17 deletions experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6897,15 +6897,6 @@
format: string
description: PE Section List virtual size. This is always the same as `physical_size`.
default_field: false
- name: parent.pgid
level: extended
type: long
format: string
description: 'Deprecated for removal in next major version release. This field
is superseded by `process.group_leader.pid`.
Identifier of the group of processes the process belongs to.'
default_field: false
- name: parent.pid
level: core
type: long
Expand Down Expand Up @@ -7269,14 +7260,6 @@
format: string
description: PE Section List virtual size. This is always the same as `physical_size`.
default_field: false
- name: pgid
level: extended
type: long
format: string
description: 'Deprecated for removal in next major version release. This field
is superseded by `process.group_leader.pid`.
Identifier of the group of processes the process belongs to.'
- name: pid
level: core
type: long
Expand Down
2 changes: 0 additions & 2 deletions experimental/generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -884,7 +884,6 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
9.0.0-dev+exp,true,process,process.parent.pe.sections.physical_size,long,extended,,,PE Section List physical size.
9.0.0-dev+exp,true,process,process.parent.pe.sections.var_entropy,long,extended,,,Variance for Shannon entropy calculation from the section.
9.0.0-dev+exp,true,process,process.parent.pe.sections.virtual_size,long,extended,,,PE Section List virtual size. This is always the same as `physical_size`.
9.0.0-dev+exp,true,process,process.parent.pgid,long,extended,,,Deprecated identifier of the group of processes the process belongs to.
9.0.0-dev+exp,true,process,process.parent.pid,long,core,,4242,Process id.
9.0.0-dev+exp,true,process,process.parent.real_group.id,keyword,extended,,,Unique identifier for the group on the system/platform.
9.0.0-dev+exp,true,process,process.parent.real_group.name,keyword,extended,,,Name of the group.
Expand Down Expand Up @@ -938,7 +937,6 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
9.0.0-dev+exp,true,process,process.pe.sections.physical_size,long,extended,,,PE Section List physical size.
9.0.0-dev+exp,true,process,process.pe.sections.var_entropy,long,extended,,,Variance for Shannon entropy calculation from the section.
9.0.0-dev+exp,true,process,process.pe.sections.virtual_size,long,extended,,,PE Section List virtual size. This is always the same as `physical_size`.
9.0.0-dev+exp,true,process,process.pgid,long,extended,,,Deprecated identifier of the group of processes the process belongs to.
9.0.0-dev+exp,true,process,process.pid,long,core,,4242,Process id.
9.0.0-dev+exp,true,process,process.previous.args,keyword,extended,array,"[""/usr/bin/ssh"", ""-l"", ""user"", ""10.0.0.16""]",Array of process arguments.
9.0.0-dev+exp,true,process,process.previous.args_count,long,extended,,4,Length of the process.args array.
Expand Down
27 changes: 0 additions & 27 deletions experimental/generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11631,20 +11631,6 @@ process.parent.pe.sections.virtual_size:
original_fieldset: pe
short: PE Section List virtual size. This is always the same as `physical_size`.
type: long
process.parent.pgid:
dashed_name: process-parent-pgid
description: 'Deprecated for removal in next major version release. This field is
superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.'
flat_name: process.parent.pgid
format: string
level: extended
name: pgid
normalize: []
original_fieldset: process
short: Deprecated identifier of the group of processes the process belongs to.
type: long
process.parent.pid:
dashed_name: process-parent-pid
description: Process id.
Expand Down Expand Up @@ -12260,19 +12246,6 @@ process.pe.sections.virtual_size:
original_fieldset: pe
short: PE Section List virtual size. This is always the same as `physical_size`.
type: long
process.pgid:
dashed_name: process-pgid
description: 'Deprecated for removal in next major version release. This field is
superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.'
flat_name: process.pgid
format: string
level: extended
name: pgid
normalize: []
short: Deprecated identifier of the group of processes the process belongs to.
type: long
process.pid:
dashed_name: process-pid
description: Process id.
Expand Down
27 changes: 0 additions & 27 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13917,20 +13917,6 @@ process:
original_fieldset: pe
short: PE Section List virtual size. This is always the same as `physical_size`.
type: long
process.parent.pgid:
dashed_name: process-parent-pgid
description: 'Deprecated for removal in next major version release. This field
is superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.'
flat_name: process.parent.pgid
format: string
level: extended
name: pgid
normalize: []
original_fieldset: process
short: Deprecated identifier of the group of processes the process belongs to.
type: long
process.parent.pid:
dashed_name: process-parent-pid
description: Process id.
Expand Down Expand Up @@ -14547,19 +14533,6 @@ process:
original_fieldset: pe
short: PE Section List virtual size. This is always the same as `physical_size`.
type: long
process.pgid:
dashed_name: process-pgid
description: 'Deprecated for removal in next major version release. This field
is superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.'
flat_name: process.pgid
format: string
level: extended
name: pgid
normalize: []
short: Deprecated identifier of the group of processes the process belongs to.
type: long
process.pid:
dashed_name: process-pid
description: Process id.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1258,9 +1258,6 @@
}
}
},
"pgid": {
"type": "long"
},
"pid": {
"type": "long"
},
Expand Down Expand Up @@ -1506,9 +1503,6 @@
}
}
},
"pgid": {
"type": "long"
},
"pid": {
"type": "long"
},
Expand Down
6 changes: 0 additions & 6 deletions experimental/generated/elasticsearch/legacy/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -4020,9 +4020,6 @@
}
}
},
"pgid": {
"type": "long"
},
"pid": {
"type": "long"
},
Expand Down Expand Up @@ -4268,9 +4265,6 @@
}
}
},
"pgid": {
"type": "long"
},
"pid": {
"type": "long"
},
Expand Down
17 changes: 0 additions & 17 deletions generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6847,15 +6847,6 @@
format: string
description: PE Section List virtual size. This is always the same as `physical_size`.
default_field: false
- name: parent.pgid
level: extended
type: long
format: string
description: 'Deprecated for removal in next major version release. This field
is superseded by `process.group_leader.pid`.
Identifier of the group of processes the process belongs to.'
default_field: false
- name: parent.pid
level: core
type: long
Expand Down Expand Up @@ -7219,14 +7210,6 @@
format: string
description: PE Section List virtual size. This is always the same as `physical_size`.
default_field: false
- name: pgid
level: extended
type: long
format: string
description: 'Deprecated for removal in next major version release. This field
is superseded by `process.group_leader.pid`.
Identifier of the group of processes the process belongs to.'
- name: pid
level: core
type: long
Expand Down
2 changes: 0 additions & 2 deletions generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,6 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
9.0.0-dev,true,process,process.parent.pe.sections.physical_size,long,extended,,,PE Section List physical size.
9.0.0-dev,true,process,process.parent.pe.sections.var_entropy,long,extended,,,Variance for Shannon entropy calculation from the section.
9.0.0-dev,true,process,process.parent.pe.sections.virtual_size,long,extended,,,PE Section List virtual size. This is always the same as `physical_size`.
9.0.0-dev,true,process,process.parent.pgid,long,extended,,,Deprecated identifier of the group of processes the process belongs to.
9.0.0-dev,true,process,process.parent.pid,long,core,,4242,Process id.
9.0.0-dev,true,process,process.parent.real_group.id,keyword,extended,,,Unique identifier for the group on the system/platform.
9.0.0-dev,true,process,process.parent.real_group.name,keyword,extended,,,Name of the group.
Expand Down Expand Up @@ -931,7 +930,6 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
9.0.0-dev,true,process,process.pe.sections.physical_size,long,extended,,,PE Section List physical size.
9.0.0-dev,true,process,process.pe.sections.var_entropy,long,extended,,,Variance for Shannon entropy calculation from the section.
9.0.0-dev,true,process,process.pe.sections.virtual_size,long,extended,,,PE Section List virtual size. This is always the same as `physical_size`.
9.0.0-dev,true,process,process.pgid,long,extended,,,Deprecated identifier of the group of processes the process belongs to.
9.0.0-dev,true,process,process.pid,long,core,,4242,Process id.
9.0.0-dev,true,process,process.previous.args,keyword,extended,array,"[""/usr/bin/ssh"", ""-l"", ""user"", ""10.0.0.16""]",Array of process arguments.
9.0.0-dev,true,process,process.previous.args_count,long,extended,,4,Length of the process.args array.
Expand Down
27 changes: 0 additions & 27 deletions generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11562,20 +11562,6 @@ process.parent.pe.sections.virtual_size:
original_fieldset: pe
short: PE Section List virtual size. This is always the same as `physical_size`.
type: long
process.parent.pgid:
dashed_name: process-parent-pgid
description: 'Deprecated for removal in next major version release. This field is
superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.'
flat_name: process.parent.pgid
format: string
level: extended
name: pgid
normalize: []
original_fieldset: process
short: Deprecated identifier of the group of processes the process belongs to.
type: long
process.parent.pid:
dashed_name: process-parent-pid
description: Process id.
Expand Down Expand Up @@ -12191,19 +12177,6 @@ process.pe.sections.virtual_size:
original_fieldset: pe
short: PE Section List virtual size. This is always the same as `physical_size`.
type: long
process.pgid:
dashed_name: process-pgid
description: 'Deprecated for removal in next major version release. This field is
superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.'
flat_name: process.pgid
format: string
level: extended
name: pgid
normalize: []
short: Deprecated identifier of the group of processes the process belongs to.
type: long
process.pid:
dashed_name: process-pid
description: Process id.
Expand Down
27 changes: 0 additions & 27 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13837,20 +13837,6 @@ process:
original_fieldset: pe
short: PE Section List virtual size. This is always the same as `physical_size`.
type: long
process.parent.pgid:
dashed_name: process-parent-pgid
description: 'Deprecated for removal in next major version release. This field
is superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.'
flat_name: process.parent.pgid
format: string
level: extended
name: pgid
normalize: []
original_fieldset: process
short: Deprecated identifier of the group of processes the process belongs to.
type: long
process.parent.pid:
dashed_name: process-parent-pid
description: Process id.
Expand Down Expand Up @@ -14467,19 +14453,6 @@ process:
original_fieldset: pe
short: PE Section List virtual size. This is always the same as `physical_size`.
type: long
process.pgid:
dashed_name: process-pgid
description: 'Deprecated for removal in next major version release. This field
is superseded by `process.group_leader.pid`.

Identifier of the group of processes the process belongs to.'
flat_name: process.pgid
format: string
level: extended
name: pgid
normalize: []
short: Deprecated identifier of the group of processes the process belongs to.
type: long
process.pid:
dashed_name: process-pid
description: Process id.
Expand Down
6 changes: 0 additions & 6 deletions generated/elasticsearch/composable/component/process.json
Original file line number Diff line number Diff line change
Expand Up @@ -1258,9 +1258,6 @@
}
}
},
"pgid": {
"type": "long"
},
"pid": {
"type": "long"
},
Expand Down Expand Up @@ -1506,9 +1503,6 @@
}
}
},
"pgid": {
"type": "long"
},
"pid": {
"type": "long"
},
Expand Down
6 changes: 0 additions & 6 deletions generated/elasticsearch/legacy/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -3978,9 +3978,6 @@
}
}
},
"pgid": {
"type": "long"
},
"pid": {
"type": "long"
},
Expand Down Expand Up @@ -4226,9 +4223,6 @@
}
}
},
"pgid": {
"type": "long"
},
"pid": {
"type": "long"
},
Expand Down
11 changes: 0 additions & 11 deletions schemas/process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,17 +138,6 @@
- type: match_only_text
name: text

- name: pgid
format: string
level: extended
type: long
short: Deprecated identifier of the group of processes the process belongs to.
description: >
Deprecated for removal in next major version release. This field is superseded by
`process.group_leader.pid`.

Identifier of the group of processes the process belongs to.

- name: command_line
level: extended
type: wildcard
Expand Down
Loading

0 comments on commit ede6f40

Please sign in to comment.