Forwarding Overview
Beaconv0.0.42 added AWS CloudWatch Logs support for teams that want Beacon endpoint events forwarded into a customer-managed CloudWatch Logs log group for observability, security search, subscriptions, exports, or downstream detection workflows. Beacon remains the local JSONL producer and writes one source of truth, the active runtime JSONL log. Your customer-managed Vector agent tails that file and writes parsed Beacon events to CloudWatch Logs.
Use this path when you want Beacon events forwarded to AWS CloudWatch Logs without storing AWS credentials, profiles, IAM roles, log group retention settings, stream names, or encryption settings in Beacon endpoint configuration.
Runtime log paths
| Mode | Runtime log |
|---|---|
| User mode | ~/.beacon/endpoint/logs/runtime.jsonl |
| System mode | /var/log/beacon-agent/runtime.jsonl |
/var/log/beacon-agent/runtime.jsonl without per-user home directory permissions.
Prerequisites
- Beacon endpoint installed and writing local JSONL.
- An AWS CloudWatch Logs log group for Beacon runtime logs.
- Vector installed or deployable through your endpoint-management tooling.
- An IAM role or credentials available through the standard AWS credential provider chain for the process running Vector or the AWS CLI validation checks.
logs:CreateLogGroup, KMS permissions, subscription-filter permissions, or account-specific conditions only if your AWS controls require them. Configure CloudWatch Logs retention, log group encryption, subscription filters, exports, and access policies in AWS.
Install the CloudWatch pack
Generate the AWS CloudWatch Logs content pack for a managed system-mode deployment:Generate the AWS CloudWatch Logs content pack for a managed system-mode deployment
README.mdwith setup and validation steps.vector.tomlfor customer-managed Vector forwarding.sample-event.jsonlwith Beacon endpoint sample events.
--log-path /path/to/runtime.jsonl. The generated vector.toml uses the selected path.
Production forwarding
For production, use the generated Vector config as a customer-managed host-agent forwarding template. Beacon remains the local JSONL producer; Vector tailsruntime.jsonl, checkpoints file offsets in its data_dir, batches Beacon events, and writes JSON log events into AWS CloudWatch Logs.
Install Vector using your normal endpoint management tooling, then copy the generated config into Vector’s config directory. On a macOS system-mode Beacon deployment, the generated config tails /var/log/beacon-agent/runtime.jsonl:
Install Vector using your normal endpoint management tooling, then copy the generated config into Vector's config directory. On a macOS system-mode Beacon deployment, the generated config tails /var/log/beacon-agent/runtime.jsonl
BEACON_CLOUDWATCH_LOG_GROUP, optional BEACON_CLOUDWATCH_LOG_STREAM_PREFIX, AWS_REGION, and any AWS credential-provider settings through the Vector service environment, host identity, or MDM/secret tooling. Do not store AWS destination secrets in Beacon endpoint configuration.
The template expects a Vector version with the file source, remap transform, and aws_cloudwatch_logs sink. It parses each Beacon JSONL line and re-encodes the original Beacon event as JSON so CloudWatch receives the Beacon event shape without a Vector wrapper.
The template sets create_missing_group = false and create_missing_stream = true. Pre-create the log group in AWS so you can manage retention, encryption, resource policy, tags, and subscription filters through your normal controls, while allowing Vector to create host-specific log streams as endpoints come online.
If you adapt the config or use another forwarder, it should:
- Checkpoint file offsets.
- Follow Beacon’s local file rotation at the active
runtime.jsonlpath. - Keep each Beacon event as one JSON object.
- Batch JSON records.
- Use host-specific log streams.
- Retry transient failures without duplicating the whole file.
- Keep AWS credentials, IAM roles, log group retention, stream naming, and encryption outside Beacon endpoint configuration.
Validate forwarding
Confirm the Beacon runtime log exists and has recent endpoint events:Confirm the Beacon runtime log exists and has recent endpoint events
Write a CloudWatch validation event
Wait for your production forwarder to ship the new line. Beacon can write the local validation event, but remote delivery must be confirmed with AWS tooling
logs:CreateLogStream, logs:DescribeLogStreams, and logs:PutLogEvents for the selected log group.
Content Handling
Beacon applies redaction, sanitization, truncation, and event-size limits before events are written toruntime.jsonl and forwarded to CloudWatch Logs. Review log group access, retention, subscription filters, and downstream consumers so retained telemetry matches your approved collection policy.
Related
beacon endpoint cloudwatch
Review AWS CloudWatch Logs command syntax, flags, and examples.
Log forwarding
Review forwarding patterns across Wazuh, Splunk HEC, Falcon LogScale, Elastic, Datadog, Sumo Logic, Rapid7, Microsoft Sentinel, AWS CloudWatch Logs, AWS S3, Google Cloud Storage, and customer-managed pipelines.
AWS S3 forwarding
Configure Vector forwarding from Beacon JSONL into AWS S3.
Endpoint event schema
Review normalized Beacon JSONL fields and example events.
Agent harness integrations
Review supported agent harnesses, deployment modes, storage, and forwarding.

