Skip to content

Commit

Permalink
Orchestrator additions for features coming in 8.8 (elastic#2181)
Browse files Browse the repository at this point in the history
* new fields added to orchestrator fieldset

* build artifacts

---------

Co-authored-by: Eric Beahan <[email protected]>
  • Loading branch information
mitodrummer and ebeahan authored Apr 28, 2023
1 parent 6def3e9 commit f9a25f5
Show file tree
Hide file tree
Showing 14 changed files with 218 additions and 2 deletions.
38 changes: 38 additions & 0 deletions docs/fields/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6941,6 +6941,25 @@ example: `elastic`

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

|
[[field-orchestrator-resource-annotation]]
<<field-orchestrator-resource-annotation, orchestrator.resource.annotation>>

a| The list of annotations added to the resource.

type: keyword


Note: this field should contain an array of values.



example: `['key1:value1', 'key2:value2', 'key3:value3']`

| extended

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

|
[[field-orchestrator-resource-id]]
<<field-orchestrator-resource-id, orchestrator.resource.id>>
Expand Down Expand Up @@ -6972,6 +6991,25 @@ Note: this field should contain an array of values.



| extended

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

|
[[field-orchestrator-resource-label]]
<<field-orchestrator-resource-label, orchestrator.resource.label>>

a| The list of labels added to the resource.

type: keyword


Note: this field should contain an array of values.



example: `['key1:value1', 'key2:value2', 'key3:value3']`

| extended

// ===============================================================
Expand Down
14 changes: 14 additions & 0 deletions experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5174,6 +5174,13 @@
setups).
example: elastic
default_field: false
- name: resource.annotation
level: extended
type: keyword
ignore_above: 1024
description: The list of annotations added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
default_field: false
- name: resource.id
level: extended
type: keyword
Expand All @@ -5188,6 +5195,13 @@
only one element: the IP of the Pod (as opposed to the Node on which the Pod
is running).'
default_field: false
- name: resource.label
level: extended
type: keyword
ignore_above: 1024
description: The list of labels added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
default_field: false
- name: resource.name
level: extended
type: keyword
Expand Down
2 changes: 2 additions & 0 deletions experimental/generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,10 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.9.0-dev+exp,true,orchestrator,orchestrator.cluster.version,keyword,extended,,,The version of the cluster.
8.9.0-dev+exp,true,orchestrator,orchestrator.namespace,keyword,extended,,kube-system,Namespace in which the action is taking place.
8.9.0-dev+exp,true,orchestrator,orchestrator.organization,keyword,extended,,elastic,Organization affected by the event (for multi-tenant orchestrator setups).
8.9.0-dev+exp,true,orchestrator,orchestrator.resource.annotation,keyword,extended,array,"['key1:value1', 'key2:value2', 'key3:value3']",The list of annotations added to the resource.
8.9.0-dev+exp,true,orchestrator,orchestrator.resource.id,keyword,extended,,,Unique ID of the resource being acted upon.
8.9.0-dev+exp,true,orchestrator,orchestrator.resource.ip,ip,extended,array,,IP address assigned to the resource associated with the event being observed.
8.9.0-dev+exp,true,orchestrator,orchestrator.resource.label,keyword,extended,array,"['key1:value1', 'key2:value2', 'key3:value3']",The list of labels added to the resource.
8.9.0-dev+exp,true,orchestrator,orchestrator.resource.name,keyword,extended,,test-pod-cdcws,Name of the resource being acted upon.
8.9.0-dev+exp,true,orchestrator,orchestrator.resource.parent.type,keyword,extended,,DaemonSet,Type or kind of the parent resource associated with the event being observed.
8.9.0-dev+exp,true,orchestrator,orchestrator.resource.type,keyword,extended,,service,Type of resource being acted upon.
Expand Down
24 changes: 24 additions & 0 deletions experimental/generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7370,6 +7370,18 @@ orchestrator.organization:
normalize: []
short: Organization affected by the event (for multi-tenant orchestrator setups).
type: keyword
orchestrator.resource.annotation:
dashed_name: orchestrator-resource-annotation
description: The list of annotations added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
flat_name: orchestrator.resource.annotation
ignore_above: 1024
level: extended
name: resource.annotation
normalize:
- array
short: The list of annotations added to the resource.
type: keyword
orchestrator.resource.id:
dashed_name: orchestrator-resource-id
description: Unique ID of the resource being acted upon.
Expand All @@ -7392,6 +7404,18 @@ orchestrator.resource.ip:
- array
short: IP address assigned to the resource associated with the event being observed.
type: ip
orchestrator.resource.label:
dashed_name: orchestrator-resource-label
description: The list of labels added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
flat_name: orchestrator.resource.label
ignore_above: 1024
level: extended
name: resource.label
normalize:
- array
short: The list of labels added to the resource.
type: keyword
orchestrator.resource.name:
dashed_name: orchestrator-resource-name
description: Name of the resource being acted upon.
Expand Down
24 changes: 24 additions & 0 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9135,6 +9135,18 @@ orchestrator:
normalize: []
short: Organization affected by the event (for multi-tenant orchestrator setups).
type: keyword
orchestrator.resource.annotation:
dashed_name: orchestrator-resource-annotation
description: The list of annotations added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
flat_name: orchestrator.resource.annotation
ignore_above: 1024
level: extended
name: resource.annotation
normalize:
- array
short: The list of annotations added to the resource.
type: keyword
orchestrator.resource.id:
dashed_name: orchestrator-resource-id
description: Unique ID of the resource being acted upon.
Expand All @@ -9158,6 +9170,18 @@ orchestrator:
- array
short: IP address assigned to the resource associated with the event being observed.
type: ip
orchestrator.resource.label:
dashed_name: orchestrator-resource-label
description: The list of labels added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
flat_name: orchestrator.resource.label
ignore_above: 1024
level: extended
name: resource.label
normalize:
- array
short: The list of labels added to the resource.
type: keyword
orchestrator.resource.name:
dashed_name: orchestrator-resource-name
description: Name of the resource being acted upon.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,21 @@
},
"resource": {
"properties": {
"annotation": {
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"ip": {
"type": "ip"
},
"label": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
8 changes: 8 additions & 0 deletions experimental/generated/elasticsearch/legacy/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -2610,13 +2610,21 @@
},
"resource": {
"properties": {
"annotation": {
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"ip": {
"type": "ip"
},
"label": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
14 changes: 14 additions & 0 deletions generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5124,6 +5124,13 @@
setups).
example: elastic
default_field: false
- name: resource.annotation
level: extended
type: keyword
ignore_above: 1024
description: The list of annotations added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
default_field: false
- name: resource.id
level: extended
type: keyword
Expand All @@ -5138,6 +5145,13 @@
only one element: the IP of the Pod (as opposed to the Node on which the Pod
is running).'
default_field: false
- name: resource.label
level: extended
type: keyword
ignore_above: 1024
description: The list of labels added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
default_field: false
- name: resource.name
level: extended
type: keyword
Expand Down
2 changes: 2 additions & 0 deletions generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,10 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.9.0-dev,true,orchestrator,orchestrator.cluster.version,keyword,extended,,,The version of the cluster.
8.9.0-dev,true,orchestrator,orchestrator.namespace,keyword,extended,,kube-system,Namespace in which the action is taking place.
8.9.0-dev,true,orchestrator,orchestrator.organization,keyword,extended,,elastic,Organization affected by the event (for multi-tenant orchestrator setups).
8.9.0-dev,true,orchestrator,orchestrator.resource.annotation,keyword,extended,array,"['key1:value1', 'key2:value2', 'key3:value3']",The list of annotations added to the resource.
8.9.0-dev,true,orchestrator,orchestrator.resource.id,keyword,extended,,,Unique ID of the resource being acted upon.
8.9.0-dev,true,orchestrator,orchestrator.resource.ip,ip,extended,array,,IP address assigned to the resource associated with the event being observed.
8.9.0-dev,true,orchestrator,orchestrator.resource.label,keyword,extended,array,"['key1:value1', 'key2:value2', 'key3:value3']",The list of labels added to the resource.
8.9.0-dev,true,orchestrator,orchestrator.resource.name,keyword,extended,,test-pod-cdcws,Name of the resource being acted upon.
8.9.0-dev,true,orchestrator,orchestrator.resource.parent.type,keyword,extended,,DaemonSet,Type or kind of the parent resource associated with the event being observed.
8.9.0-dev,true,orchestrator,orchestrator.resource.type,keyword,extended,,service,Type of resource being acted upon.
Expand Down
24 changes: 24 additions & 0 deletions generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7301,6 +7301,18 @@ orchestrator.organization:
normalize: []
short: Organization affected by the event (for multi-tenant orchestrator setups).
type: keyword
orchestrator.resource.annotation:
dashed_name: orchestrator-resource-annotation
description: The list of annotations added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
flat_name: orchestrator.resource.annotation
ignore_above: 1024
level: extended
name: resource.annotation
normalize:
- array
short: The list of annotations added to the resource.
type: keyword
orchestrator.resource.id:
dashed_name: orchestrator-resource-id
description: Unique ID of the resource being acted upon.
Expand All @@ -7323,6 +7335,18 @@ orchestrator.resource.ip:
- array
short: IP address assigned to the resource associated with the event being observed.
type: ip
orchestrator.resource.label:
dashed_name: orchestrator-resource-label
description: The list of labels added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
flat_name: orchestrator.resource.label
ignore_above: 1024
level: extended
name: resource.label
normalize:
- array
short: The list of labels added to the resource.
type: keyword
orchestrator.resource.name:
dashed_name: orchestrator-resource-name
description: Name of the resource being acted upon.
Expand Down
24 changes: 24 additions & 0 deletions generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9055,6 +9055,18 @@ orchestrator:
normalize: []
short: Organization affected by the event (for multi-tenant orchestrator setups).
type: keyword
orchestrator.resource.annotation:
dashed_name: orchestrator-resource-annotation
description: The list of annotations added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
flat_name: orchestrator.resource.annotation
ignore_above: 1024
level: extended
name: resource.annotation
normalize:
- array
short: The list of annotations added to the resource.
type: keyword
orchestrator.resource.id:
dashed_name: orchestrator-resource-id
description: Unique ID of the resource being acted upon.
Expand All @@ -9078,6 +9090,18 @@ orchestrator:
- array
short: IP address assigned to the resource associated with the event being observed.
type: ip
orchestrator.resource.label:
dashed_name: orchestrator-resource-label
description: The list of labels added to the resource.
example: '[''key1:value1'', ''key2:value2'', ''key3:value3'']'
flat_name: orchestrator.resource.label
ignore_above: 1024
level: extended
name: resource.label
normalize:
- array
short: The list of labels added to the resource.
type: keyword
orchestrator.resource.name:
dashed_name: orchestrator-resource-name
description: Name of the resource being acted upon.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,21 @@
},
"resource": {
"properties": {
"annotation": {
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"ip": {
"type": "ip"
},
"label": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
8 changes: 8 additions & 0 deletions generated/elasticsearch/legacy/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -2568,13 +2568,21 @@
},
"resource": {
"properties": {
"annotation": {
"ignore_above": 1024,
"type": "keyword"
},
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"ip": {
"type": "ip"
},
"label": {
"ignore_above": 1024,
"type": "keyword"
},
"name": {
"ignore_above": 1024,
"type": "keyword"
Expand Down
Loading

0 comments on commit f9a25f5

Please sign in to comment.