aws / amazon-cloudwatch-logs-for-fluent-bit

A Fluent Bit output plugin for CloudWatch Logs
Apache License 2.0
170 stars 49 forks source link

credentials_endpoint configuration property is not supported #366

Open bongi23 opened 2 months ago

bongi23 commented 2 months ago

Hello,

I have a k8s cluster on Azure and I would like to push container logs to Cloudwatch on AWS.

I configured my output like this

[OUTPUT]
      Name              cloudwatch_logs
      Match             kube.*
      region            eu-west-1
      log_group_name    kubernetes-logs-azure
      auto_create_group On
      log_stream_name   $kubernetes['container_name']
      credentials_endpoint  REDACTED

But I get the following error

[2024/05/31 13:49:44] [error] [config] cloudwatch_logs: unknown configuration property 'credentials_endpoint'. The following properties are allowed: region, log_group_name, log_stream_name, log_stream_prefix, log_group_template, log_stream_template, log_key, extra_user_agent, log_format, role_arn, auto_create_group, auto_retry_requests, log_retention_days, endpoint, sts_endpoint, external_id, metric_namespace, and metric_dimensions.

I do not understand why since in the README.md of this repository that parameter is listed as supported.

I am using public.ecr.aws/aws-observability/aws-for-fluent-bit:latest as image