Skip to content

Commit 36ebb01

Browse files
ebeahangraphaelli
andauthored
[1.x] add cloud.service.name (#1204) (#1224)
* add cloud.platform * expand cloud.platform description * move to cloud.service.name Co-authored-by: Gil Raphaelli <gil@elastic.co>
1 parent 2b240f1 commit 36ebb01

File tree

17 files changed

+161
-0
lines changed

17 files changed

+161
-0
lines changed

CHANGELOG.next.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Thanks, you're awesome :-) -->
1818
#### Added
1919

2020
* Added `http.request.id`. #1208
21+
* Added `cloud.service.name`. #1204
2122

2223
#### Improvements
2324

code/go/ecs/cloud.go

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/field-details.asciidoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,24 @@ example: `us-east-1`
738738

739739
// ===============================================================
740740

741+
|
742+
[[field-cloud-service-name]]
743+
<<field-cloud-service-name, cloud.service.name>>
744+
745+
| The cloud service name is intended to distinguish services running on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs App Engine, Azure VM vs App Server.
746+
747+
Examples: app engine, app service, cloud run, fargate, lambda.
748+
749+
type: keyword
750+
751+
752+
753+
example: `lambda`
754+
755+
| extended
756+
757+
// ===============================================================
758+
741759
|=====
742760

743761
[[ecs-code_signature]]

experimental/generated/beats/fields.ecs.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,17 @@
476476
ignore_above: 1024
477477
description: Region in which this host is running.
478478
example: us-east-1
479+
- name: service.name
480+
level: extended
481+
type: keyword
482+
ignore_above: 1024
483+
description: 'The cloud service name is intended to distinguish services running
484+
on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs
485+
App Engine, Azure VM vs App Server.
486+
487+
Examples: app engine, app service, cloud run, fargate, lambda.'
488+
example: lambda
489+
default_field: false
479490
- name: code_signature
480491
title: Code Signature
481492
group: 2

experimental/generated/csv/fields.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
5454
1.9.0-dev+exp,true,cloud,cloud.project.name,keyword,extended,,my project,The cloud project name.
5555
1.9.0-dev+exp,true,cloud,cloud.provider,keyword,extended,,aws,Name of the cloud provider.
5656
1.9.0-dev+exp,true,cloud,cloud.region,keyword,extended,,us-east-1,Region in which this host is running.
57+
1.9.0-dev+exp,true,cloud,cloud.service.name,keyword,extended,,lambda,The cloud service name.
5758
1.9.0-dev+exp,true,container,container.id,keyword,core,,,Unique container id.
5859
1.9.0-dev+exp,true,container,container.image.name,keyword,extended,,,Name of the image the container was built on.
5960
1.9.0-dev+exp,true,container,container.image.tag,keyword,extended,array,,Container image tags.

experimental/generated/ecs/ecs_flat.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -643,6 +643,21 @@ cloud.region:
643643
normalize: []
644644
short: Region in which this host is running.
645645
type: keyword
646+
cloud.service.name:
647+
dashed_name: cloud-service-name
648+
description: 'The cloud service name is intended to distinguish services running
649+
on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs App
650+
Engine, Azure VM vs App Server.
651+
652+
Examples: app engine, app service, cloud run, fargate, lambda.'
653+
example: lambda
654+
flat_name: cloud.service.name
655+
ignore_above: 1024
656+
level: extended
657+
name: service.name
658+
normalize: []
659+
short: The cloud service name.
660+
type: keyword
646661
container.id:
647662
dashed_name: container-id
648663
description: Unique container id.

experimental/generated/ecs/ecs_nested.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,21 @@ cloud:
814814
normalize: []
815815
short: Region in which this host is running.
816816
type: keyword
817+
cloud.service.name:
818+
dashed_name: cloud-service-name
819+
description: 'The cloud service name is intended to distinguish services running
820+
on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs
821+
App Engine, Azure VM vs App Server.
822+
823+
Examples: app engine, app service, cloud run, fargate, lambda.'
824+
example: lambda
825+
flat_name: cloud.service.name
826+
ignore_above: 1024
827+
level: extended
828+
name: service.name
829+
normalize: []
830+
short: The cloud service name.
831+
type: keyword
817832
footnote: 'Examples: If Metricbeat is running on an EC2 host and fetches data from
818833
its host, the cloud info contains the data about this machine. If Metricbeat runs
819834
on a remote machine outside the cloud and fetches data from a service running

experimental/generated/elasticsearch/7/template.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,14 @@
269269
"region": {
270270
"ignore_above": 1024,
271271
"type": "keyword"
272+
},
273+
"service": {
274+
"properties": {
275+
"name": {
276+
"ignore_above": 1024,
277+
"type": "keyword"
278+
}
279+
}
272280
}
273281
}
274282
},

experimental/generated/elasticsearch/component/cloud.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@
6363
"region": {
6464
"ignore_above": 1024,
6565
"type": "keyword"
66+
},
67+
"service": {
68+
"properties": {
69+
"name": {
70+
"ignore_above": 1024,
71+
"type": "keyword"
72+
}
73+
}
6674
}
6775
}
6876
}

generated/beats/fields.ecs.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,17 @@
476476
ignore_above: 1024
477477
description: Region in which this host is running.
478478
example: us-east-1
479+
- name: service.name
480+
level: extended
481+
type: keyword
482+
ignore_above: 1024
483+
description: 'The cloud service name is intended to distinguish services running
484+
on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs
485+
App Engine, Azure VM vs App Server.
486+
487+
Examples: app engine, app service, cloud run, fargate, lambda.'
488+
example: lambda
489+
default_field: false
479490
- name: code_signature
480491
title: Code Signature
481492
group: 2

0 commit comments

Comments
 (0)