File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,15 @@ Set the secrets below associated with your desired log destination
6060| ` AWS_REGION ` | Region for the bucket |
6161| ` S3_ENDPOINT ` | (optional) Endpoint URL for S3 compatible object stores such as Cloudflare R2 or Wasabi |
6262
63+ ### AWS CloudWatch
64+
65+ | Secret | Description |
66+ | ----------------------- | --------------------------------------------------------------------------------------- |
67+ | ` AWS_ACCESS_KEY_ID ` | AWS Access key with access to the log bucket |
68+ | ` AWS_SECRET_ACCESS_KEY ` | AWS secret access key |
69+ | ` AWS_REGION ` | Region for CloudWatch |
70+ | ` CLOUDWATCH_LOG_GROUP_NAME ` | Log Group to send logs to in CloudWatch |
71+
6372### Axiom
6473
6574| Secret | Description |
Original file line number Diff line number Diff line change 1+ [sinks .aws_cloudwatch ]
2+ type = " aws_cloudwatch_logs"
3+ inputs = [ " log_json" ]
4+ create_missing_group = true
5+ create_missing_stream = true
6+ group_name = " ${CLOUDWATCH_LOG_GROUP_NAME}"
7+ compression = " none"
8+ region = " ${AWS_REGION}"
9+ stream_name = " {{ fly.app.name }}/{{ host }}"
10+
11+ [sinks .aws_cloudwatch .encoding ]
12+ codec = " json"
You can’t perform that action at this time.
0 commit comments