AWS
CloudWatch Logs
Section titled “CloudWatch Logs”Route 1: Vector
Section titled “Route 1: Vector”sinks: cloudwatch: type: aws_cloudwatch_logs inputs: [artex_by_stream.target, artex_by_stream.agent] region: "${AWS_REGION}" group_name: /artex/audit stream_name: '{{ "artex.stream" }}' encoding: codec: jsonUse with the Vector base config. Vector signs requests with SigV4 from the usual AWS credential chain (instance role, environment, profile), which AWS recommends for production.
Route 2: CloudWatch agent
Section titled “Route 2: CloudWatch agent”The agent’s logs.logs_collected.files.collect_list takes a file_path, log_group_name and log_stream_name per file. Point one entry at each stream file.
CloudWatch rejects events older than 14 days or more than 2 hours in the future.
Security Lake
Section titled “Security Lake”Security Lake custom sources take OCSF only (version 1.3 or earlier), as Parquet on S3, partitioned by region, account and day, with one OCSF class per source. ARTEX’s records would map to HTTP Activity (4002), Network Activity (4001) for tunnels, and Detection Finding (2004) for alerts, so three custom sources. No generic output feeds this today: it needs an OCSF mapping in a pipeline (Vector’s aws_s3 sink with Parquet encoding and a remap, or a Cribl pack). ARTEX has no OCSF output.
Planned
Section titled “Planned”- OTLP (#395). CloudWatch Logs has an OTLP endpoint (
https://logs.<region>.amazonaws.com/v1/logs) that accepts SigV4 or a bearer API key withlogs:CallWithBearerToken, with the log group and stream inx-aws-log-groupandx-aws-log-streamheaders. AWS recommends SigV4 for production, which a Collector handles better than a static header. - Metrics (#396). The CloudWatch agent’s Prometheus support or Amazon Managed Service for Prometheus could scrape
/metrics.
Validation
Section titled “Validation”- Vector sink:
vector validate0.62.0 passed with a placeholder region. - The CloudWatch agent settings, the OTLP notes and the Security Lake description were written from AWS documentation only. Nothing was sent to AWS.