You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[extension/awslogsencodingextension] Fix semantic conventions and update README (#39207)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Fix semantic conventions and update README.
<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes#39051.
<!--Describe the documentation added.-->
#### Documentation
README updated.
-[VPC flow log records](https://docs.aws.amazon.com/vpc/latest/userguide/flow-log-records.html) sent to S3 in plain text.
17
+
- Parquet support still to be added.
16
18
- (More to be added later.)
17
19
18
20
Example for Amazon CloudWatch Logs Subscription Filters:
@@ -26,3 +28,63 @@ receivers:
26
28
endpoint: :1234
27
29
encoding: awslogs_encoding/cloudwatch
28
30
```
31
+
32
+
Example for VPC flow logs:
33
+
```yaml
34
+
extensions:
35
+
awslogs_encoding/cloudwatch:
36
+
format: vpc_flow_log
37
+
vpc_flow_log:
38
+
# options [parquet, plain-text].
39
+
# parquet option still needs to be implemented.
40
+
file_format: plain-text
41
+
```
42
+
43
+
#### VPC flow log record fields
44
+
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
+
47
+
| Flow log field | Attribute in OpenTelemetry log | Available? |
Copy file name to clipboardExpand all lines: extension/encoding/awslogsencodingextension/internal/unmarshaler/vpc-flow-log/testdata/valid_vpc_flow_log_expected.yaml
0 commit comments