Skip to content

Commit 8b54515

Browse files
[O11y][Traefik] Add dimension fields for health datastream (#7767)
* add dimension fields * update changelog.yml * Update packages/traefik/changelog.yml Co-authored-by: Richa Talwar <102972658+ritalwar@users.noreply.github.com> --------- Co-authored-by: Richa Talwar <102972658+ritalwar@users.noreply.github.com>
1 parent f016fa0 commit 8b54515

File tree

4 files changed

+39
-1
lines changed

4 files changed

+39
-1
lines changed

packages/traefik/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
- version: "1.9.0"
2+
changes:
3+
- description: Add dimension mapping for `health` datastream.
4+
type: enhancement
5+
link: https://github.com/elastic/integrations/pull/7767
16
- version: "1.8.1"
27
changes:
38
- description: Add null check and ignore_missing check to the rename processor
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
1+
- external: ecs
2+
name: agent.id
3+
dimension: true
4+
- external: ecs
5+
name: cloud.account.id
6+
dimension: true
7+
- external: ecs
8+
name: cloud.availability_zone
9+
dimension: true
10+
- external: ecs
11+
name: cloud.instance.id
12+
dimension: true
13+
- external: ecs
14+
name: cloud.provider
15+
dimension: true
16+
- external: ecs
17+
name: cloud.region
18+
dimension: true
19+
- external: ecs
20+
name: container.id
21+
dimension: true
122
- external: ecs
223
name: ecs.version
24+
- external: ecs
25+
name: host.name
26+
dimension: true
327
- external: ecs
428
name: service.name
529
- external: ecs
630
name: service.address
31+
dimension: true
732
- external: ecs
833
name: service.type

packages/traefik/docs/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,20 @@ An example event for `health` looks as following:
282282
| Field | Description | Type |
283283
|---|---|---|
284284
| @timestamp | Event timestamp. | date |
285+
| agent.id | Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id. | keyword |
286+
| cloud.account.id | The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier. | keyword |
287+
| cloud.availability_zone | Availability zone in which this host, resource, or service is located. | keyword |
288+
| cloud.instance.id | Instance ID of the host machine. | keyword |
289+
| cloud.provider | Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean. | keyword |
290+
| cloud.region | Region in which this host, resource, or service is located. | keyword |
291+
| container.id | Unique container id. | keyword |
285292
| data_stream.dataset | Data stream dataset. | constant_keyword |
286293
| data_stream.namespace | Data stream namespace. | constant_keyword |
287294
| data_stream.type | Data stream type. | constant_keyword |
288295
| ecs.version | ECS version this event conforms to. `ecs.version` is a required field and must exist in all events. When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events. | keyword |
289296
| event.dataset | Event dataset | constant_keyword |
290297
| event.module | Event module | constant_keyword |
298+
| host.name | Name of the host. It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use. | keyword |
291299
| service.address | Address where data about this service was collected from. This should be a URI, network address (ipv4:port or [ipv6]:port) or a resource path (sockets). | keyword |
292300
| service.name | Name of the service data is collected from. The name of the service is normally user given. This allows for distributed services that run on multiple hosts to correlate the related instances based on the name. In the case of Elasticsearch the `service.name` could contain the cluster name. For Beats the `service.name` is by default a copy of the `service.type` field if no name is specified. | keyword |
293301
| service.type | The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`. | keyword |

packages/traefik/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: traefik
22
title: Traefik
3-
version: "1.8.1"
3+
version: "1.9.0"
44
release: ga
55
description: Collect logs and metrics from Traefik servers with Elastic Agent.
66
type: integration

0 commit comments

Comments
 (0)