grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
1.46k stars 219 forks source link

Include AWS CloudWatch Logs reciever #1080

Open z0rc opened 5 months ago

z0rc commented 5 months ago

Request

https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/v0.102.0/receiver/awscloudwatchreceiver to be included in Alloy.

Use case

I need to get logs from CloudWatch into Loki. In addition I need autodiscovery of log groups with some prefix.

Existing solution of CloudWatch Logs -> Firehose -> Alloy is too complex and costly to maintain. Also this solution must be reconfigured every time new log group is added or removed, which makes whole solution not viable for my case.

mogopz commented 4 months ago

I agree, this would be a great addition.

I'm currently setting up a lambda-promtail Terraform module as a workaround but that lacks autodiscovery which is a real pain.

github-actions[bot] commented 3 months ago

This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it. If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!