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

Orchestrator additions for features coming in 8.8 #2181

Merged
merged 5 commits into from
Apr 28, 2023
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
38 changes: 38 additions & 0 deletions docs/fields/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6957,6 +6957,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 @@ -6988,6 +7007,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 @@ -5179,6 +5179,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 @@ -5193,6 +5200,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 @@ -559,8 +559,10 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.8.0-dev+exp,true,orchestrator,orchestrator.cluster.version,keyword,extended,,,The version of the cluster.
8.8.0-dev+exp,true,orchestrator,orchestrator.namespace,keyword,extended,,kube-system,Namespace in which the action is taking place.
8.8.0-dev+exp,true,orchestrator,orchestrator.organization,keyword,extended,,elastic,Organization affected by the event (for multi-tenant orchestrator setups).
8.8.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.8.0-dev+exp,true,orchestrator,orchestrator.resource.id,keyword,extended,,,Unique ID of the resource being acted upon.
8.8.0-dev+exp,true,orchestrator,orchestrator.resource.ip,ip,extended,array,,IP address assigned to the resource associated with the event being observed.
8.8.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.8.0-dev+exp,true,orchestrator,orchestrator.resource.name,keyword,extended,,test-pod-cdcws,Name of the resource being acted upon.
8.8.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.8.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 @@ -7363,6 +7363,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 @@ -7385,6 +7397,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 @@ -9128,6 +9128,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 @@ -9151,6 +9163,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 @@ -2611,13 +2611,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 @@ -5129,6 +5129,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 @@ -5143,6 +5150,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 @@ -552,8 +552,10 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.8.0-dev,true,orchestrator,orchestrator.cluster.version,keyword,extended,,,The version of the cluster.
8.8.0-dev,true,orchestrator,orchestrator.namespace,keyword,extended,,kube-system,Namespace in which the action is taking place.
8.8.0-dev,true,orchestrator,orchestrator.organization,keyword,extended,,elastic,Organization affected by the event (for multi-tenant orchestrator setups).
8.8.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.8.0-dev,true,orchestrator,orchestrator.resource.id,keyword,extended,,,Unique ID of the resource being acted upon.
8.8.0-dev,true,orchestrator,orchestrator.resource.ip,ip,extended,array,,IP address assigned to the resource associated with the event being observed.
8.8.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.8.0-dev,true,orchestrator,orchestrator.resource.name,keyword,extended,,test-pod-cdcws,Name of the resource being acted upon.
8.8.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.8.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 @@ -7294,6 +7294,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 @@ -7316,6 +7328,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 @@ -9048,6 +9048,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 @@ -9071,6 +9083,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 @@ -2569,13 +2569,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