@@ -44,47 +44,45 @@ extensions:
44
44
45
45
[VPC flow log record fields](https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html#flow-logs-fields) are mapped this way in the resulting OpenTelemetry log:
46
46
47
- | Flow log field | Attribute in OpenTelemetry log | Available? |
48
- |------------------------------|-------------------------------------------------------------------------------------------------------|:------------:|
49
- | ` version` | `aws.vpc.flow.log.version` | 🟢 |
50
- | `account-id` | `cloud.account.id` | 🟢 |
51
- | `interface-id` | `network.interface.name` | 🟢 |
52
- | `srcaddr` | `source.address` : if `pkt-srcaddr` not filled or the same <br> `network.peer.address`: otherwise | 🟢 |
53
- | `pkt-srcaddr` | `source.address` if filled | 🟢 |
54
- | `dstaddr` | `destination.address` : if `pkt-dstaddr` not filled or the same <br> `network.peer.address`: otherwise | 🟢 |
55
- | `pkt-dstaddr` | `destination.address` if filled | 🟢 |
56
- | `srcport` | `source.port` | 🟢 |
57
- | `dstport` | `destination.port` | 🟢 |
58
- | `protocol` | `network.protocol.name` | 🟢 |
59
- | `packets` | `aws.vpc.flow.packets` | 🟢 |
60
- | `bytes` | `aws.vpc.flow.bytes` | 🟢 |
61
- | `start` | `aws.vpc.flow.start` | 🟢 |
62
- | `end` | Log timestamp | 🟢 |
63
- | `action` | `aws.vpc.flow.action` | 🟢 |
64
- | `log-status` | `aws.vpc.flow.status` | 🟢 |
65
- | `vpc-id` | `aws.vpc.id` | 🟢 |
66
- | `subnet-id` | `aws.vpc.subnet.id` | 🟢 |
67
- | `instance-id` | `host.id` | 🟢 |
68
- | `tcp-flags` | `network.tcp.flags` | 🟢 |
69
- | `type` | `network.type` | 🟢 |
70
- | `region` | `cloud.region` | 🟢 |
71
- | `az-id` | `aws.az.id` | 🟢 |
72
- | `sublocation-type` | `aws.sublocation.type` | 🟢 |
73
- | `sublocation-id` | `aws.sublocation.id` | 🟢 |
74
- | `pkt-src-aws-service` | `aws.vpc.flow.source.service` | 🟢 |
75
- | `pkt-dst-aws-service` | `aws.vpc.flow.destination.service` | 🟢 |
76
- | `flow-direction` | `network.io.direction` | 🟢 |
77
- | `traffic-path` | `aws.vpc.flow.traffic_path` | 🟢 |
78
- | `ecs-cluster-arn` | `aws.ecs.cluster.arn` | 🔴 |
79
- | `ecs-cluster-name` | `aws.ecs.cluster.name` | 🔴 |
80
- | `ecs-container-instance-arn` | `aws.ecs.container.instance.arn` | 🔴 |
81
- | `ecs-container-instance-id` | `aws.ecs.container.instance.id` | 🔴 |
82
- | `ecs-container-id` | `aws.ecs.container.id` | 🔴 |
83
- | `ecs-second-container-id` | `aws.ecs.second.container.arn` | 🔴 |
84
- | `ecs-service-name` | `aws.ecs.service.name` | 🔴 |
85
- | `ecs-task-definition-arn` | `aws.ecs.task.definition.arn` | 🔴 |
86
- | `ecs-task-arn` | `aws.ecs.task.arn` | 🔴 |
87
- | `ecs-task-id` | `aws.ecs.task.id` | 🔴 |
88
- | `reject-reason` | `aws.vpc.flow.reject_reason` | 🟢 |
89
-
90
-
47
+ | Flow log field | Attribute in OpenTelemetry log |
48
+ |------------------------------|-------------------------------------------------------------------------------------------------------|
49
+ | ` version` | `aws.vpc.flow.log.version` |
50
+ | `account-id` | `cloud.account.id` |
51
+ | `interface-id` | `network.interface.name` |
52
+ | `srcaddr` | `source.address` : if `pkt-srcaddr` not filled or the same <br> `network.peer.address`: otherwise |
53
+ | `pkt-srcaddr` | `source.address` if filled |
54
+ | `dstaddr` | `destination.address` : if `pkt-dstaddr` not filled or the same <br> `network.peer.address`: otherwise |
55
+ | `pkt-dstaddr` | `destination.address` if filled |
56
+ | `srcport` | `source.port` |
57
+ | `dstport` | `destination.port` |
58
+ | `protocol` | `network.protocol.name` |
59
+ | `packets` | `aws.vpc.flow.packets` |
60
+ | `bytes` | `aws.vpc.flow.bytes` |
61
+ | `start` | `aws.vpc.flow.start` |
62
+ | `end` | Log timestamp |
63
+ | `action` | `aws.vpc.flow.action` |
64
+ | `log-status` | `aws.vpc.flow.status` |
65
+ | `vpc-id` | `aws.vpc.id` |
66
+ | `subnet-id` | `aws.vpc.subnet.id` |
67
+ | `instance-id` | `host.id` |
68
+ | `tcp-flags` | `network.tcp.flags` |
69
+ | `type` | `network.type` |
70
+ | `region` | `cloud.region` |
71
+ | `az-id` | `aws.az.id` |
72
+ | `sublocation-type` | `aws.sublocation.type` |
73
+ | `sublocation-id` | `aws.sublocation.id` |
74
+ | `pkt-src-aws-service` | `aws.vpc.flow.source.service` |
75
+ | `pkt-dst-aws-service` | `aws.vpc.flow.destination.service` |
76
+ | `flow-direction` | `network.io.direction` |
77
+ | `traffic-path` | `aws.vpc.flow.traffic_path` |
78
+ | `ecs-cluster-arn` | `aws.ecs.cluster.arn` |
79
+ | `ecs-cluster-name` | `aws.ecs.cluster.name` |
80
+ | `ecs-container-instance-arn` | `aws.ecs.container.instance.arn` |
81
+ | `ecs-container-instance-id` | `aws.ecs.container.instance.id` |
82
+ | `ecs-container-id` | `aws.ecs.container.id` |
83
+ | `ecs-second-container-id` | `aws.ecs.second.container.id` |
84
+ | `ecs-service-name` | `aws.ecs.service.name` |
85
+ | `ecs-task-definition-arn` | `aws.ecs.task.definition.arn` |
86
+ | `ecs-task-arn` | `aws.ecs.task.arn` |
87
+ | `ecs-task-id` | `aws.ecs.task.id` |
88
+ | `reject-reason` | `aws.vpc.flow.reject_reason` |
0 commit comments