Skip to content

Commit 33e16d4

Browse files
amitkanferebeahan
authored andcommitted
Adding orchestrator.resource.id (elastic#1878)
(cherry picked from commit 1620448) # Conflicts: # experimental/generated/csv/fields.csv # generated/csv/fields.csv
1 parent 398f47b commit 33e16d4

File tree

15 files changed

+93
-0
lines changed

15 files changed

+93
-0
lines changed

CHANGELOG.next.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Thanks, you're awesome :-) -->
4646

4747
* Added `pattern` attribute to `.mac` fields. #1871
4848
* Add `orchestrator.cluster.id` #1875
49+
* Add `orchestrator.resource.id` #1878
4950

5051
#### Improvements
5152

docs/fields/field-details.asciidoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6398,6 +6398,22 @@ type: keyword
63986398

63996399
example: `elastic`
64006400

6401+
| extended
6402+
6403+
// ===============================================================
6404+
6405+
|
6406+
[[field-orchestrator-resource-id]]
6407+
<<field-orchestrator-resource-id, orchestrator.resource.id>>
6408+
6409+
| Unique ID of the resource being acted upon.
6410+
6411+
type: keyword
6412+
6413+
6414+
6415+
6416+
64016417
| extended
64026418

64036419
// ===============================================================

experimental/generated/beats/fields.ecs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4506,6 +4506,12 @@
45064506
setups).
45074507
example: elastic
45084508
default_field: false
4509+
- name: resource.id
4510+
level: extended
4511+
type: keyword
4512+
ignore_above: 1024
4513+
description: Unique ID of the resource being acted upon.
4514+
default_field: false
45094515
- name: resource.name
45104516
level: extended
45114517
type: keyword

experimental/generated/csv/fields.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
493493
8.3.0-dev+exp,true,orchestrator,orchestrator.cluster.version,keyword,extended,,,The version of the cluster.
494494
8.3.0-dev+exp,true,orchestrator,orchestrator.namespace,keyword,extended,,kube-system,Namespace in which the action is taking place.
495495
8.3.0-dev+exp,true,orchestrator,orchestrator.organization,keyword,extended,,elastic,Organization affected by the event (for multi-tenant orchestrator setups).
496+
8.3.0-dev+exp,true,orchestrator,orchestrator.resource.id,keyword,extended,,,Unique ID of the resource being acted upon.
496497
8.3.0-dev+exp,true,orchestrator,orchestrator.resource.name,keyword,extended,,test-pod-cdcws,Name of the resource being acted upon.
497498
8.3.0-dev+exp,true,orchestrator,orchestrator.resource.type,keyword,extended,,service,Type of resource being acted upon.
498499
8.3.0-dev+exp,true,orchestrator,orchestrator.type,keyword,extended,,kubernetes,"Orchestrator cluster type (e.g. kubernetes, nomad or cloudfoundry)."

experimental/generated/ecs/ecs_flat.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6486,6 +6486,16 @@ orchestrator.organization:
64866486
normalize: []
64876487
short: Organization affected by the event (for multi-tenant orchestrator setups).
64886488
type: keyword
6489+
orchestrator.resource.id:
6490+
dashed_name: orchestrator-resource-id
6491+
description: Unique ID of the resource being acted upon.
6492+
flat_name: orchestrator.resource.id
6493+
ignore_above: 1024
6494+
level: extended
6495+
name: resource.id
6496+
normalize: []
6497+
short: Unique ID of the resource being acted upon.
6498+
type: keyword
64896499
orchestrator.resource.name:
64906500
dashed_name: orchestrator-resource-name
64916501
description: Name of the resource being acted upon.

experimental/generated/ecs/ecs_nested.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7914,6 +7914,16 @@ orchestrator:
79147914
normalize: []
79157915
short: Organization affected by the event (for multi-tenant orchestrator setups).
79167916
type: keyword
7917+
orchestrator.resource.id:
7918+
dashed_name: orchestrator-resource-id
7919+
description: Unique ID of the resource being acted upon.
7920+
flat_name: orchestrator.resource.id
7921+
ignore_above: 1024
7922+
level: extended
7923+
name: resource.id
7924+
normalize: []
7925+
short: Unique ID of the resource being acted upon.
7926+
type: keyword
79177927
orchestrator.resource.name:
79187928
dashed_name: orchestrator-resource-name
79197929
description: Name of the resource being acted upon.

experimental/generated/elasticsearch/composable/component/orchestrator.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
},
4343
"resource": {
4444
"properties": {
45+
"id": {
46+
"ignore_above": 1024,
47+
"type": "keyword"
48+
},
4549
"name": {
4650
"ignore_above": 1024,
4751
"type": "keyword"

experimental/generated/elasticsearch/legacy/template.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2368,6 +2368,10 @@
23682368
},
23692369
"resource": {
23702370
"properties": {
2371+
"id": {
2372+
"ignore_above": 1024,
2373+
"type": "keyword"
2374+
},
23712375
"name": {
23722376
"ignore_above": 1024,
23732377
"type": "keyword"

generated/beats/fields.ecs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4456,6 +4456,12 @@
44564456
setups).
44574457
example: elastic
44584458
default_field: false
4459+
- name: resource.id
4460+
level: extended
4461+
type: keyword
4462+
ignore_above: 1024
4463+
description: Unique ID of the resource being acted upon.
4464+
default_field: false
44594465
- name: resource.name
44604466
level: extended
44614467
type: keyword

generated/csv/fields.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
486486
8.3.0-dev,true,orchestrator,orchestrator.cluster.version,keyword,extended,,,The version of the cluster.
487487
8.3.0-dev,true,orchestrator,orchestrator.namespace,keyword,extended,,kube-system,Namespace in which the action is taking place.
488488
8.3.0-dev,true,orchestrator,orchestrator.organization,keyword,extended,,elastic,Organization affected by the event (for multi-tenant orchestrator setups).
489+
8.3.0-dev,true,orchestrator,orchestrator.resource.id,keyword,extended,,,Unique ID of the resource being acted upon.
489490
8.3.0-dev,true,orchestrator,orchestrator.resource.name,keyword,extended,,test-pod-cdcws,Name of the resource being acted upon.
490491
8.3.0-dev,true,orchestrator,orchestrator.resource.type,keyword,extended,,service,Type of resource being acted upon.
491492
8.3.0-dev,true,orchestrator,orchestrator.type,keyword,extended,,kubernetes,"Orchestrator cluster type (e.g. kubernetes, nomad or cloudfoundry)."

0 commit comments

Comments
 (0)