fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

Suppressing error message from AWS Cred Providers on init

Open jonathancouchman opened this issue 5 years ago • 4 comments

Bug Report / Question?

Describe the bug

When starting fluent-bit it logs a number of error messages as below

Could not read shared credentials file /.aws/credentials
Failed to retrieve credentials for AWS Profile default

These are clearly "red herrings" since the AWS credentials are retrieved successfully and these errors come from the credential providers prior to the successful one in the chain

However, the large number of error messages can be confusing and alarming

To Reproduce

configure fluenbit to output data with the s3 plugin Start fluent-bit in EKS without the above credential sources set

Expected behavior

It should be possible to suppress these error messages or define the sole credentials provider so as to not see these errors. It may actually be possible to do this currently, but I could not find in in the documentation

Your Environment

  • Version used: 1.7.4
  • Configuration: AWS EKS

jonathancouchman avatar Jun 09 '21 13:06 jonathancouchman

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Jul 10 '21 01:07 github-actions[bot]

Any chance of some input on this question?

jonathancouchman avatar Jul 12 '21 17:07 jonathancouchman

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 13 '21 01:08 github-actions[bot]

This issue was closed because it has been stalled for 5 days with no activity.

github-actions[bot] avatar Aug 19 '21 01:08 github-actions[bot]