How can I set the credential info in td-agent-bit to AWS S3
Bug Report
Describe the bug
I want to send logs to AWS S3. My td-agent-bit OUTPUT test config is like this
[OUTPUT] Name s3 Match * bucket *** region ap-northeast-2 store_dir nginx/access/ s3_key_format /%Y%m%d%H%M%S_$UUID.gz total_file_size 1M upload_timeout 1m s3_key_format_tag_delimiters .-_
I've configured about td-agent before. In td-agent s3 config has s3 access/secret config like this
<match ec-cloud.crond.*> @type s3 aws_key_id *** aws_sec_key *** s3_bucket {bucket_name} path logs/nginx/%Y/%m/%d/
After search about td-agent-bit, I've set aws default credential like this $ cat ~/.aws/credentials [default] aws_access_key_id=*** aws_secret_access_key=***
But it is not work.
In td-agent-bit, How can I set aws access/secret key like td-agent ?
Your Environment
- Version used: td-agent-bit 1.7.4
- Configuration:
- Environment name and version (e.g. Kubernetes? What version?): baremetal
- Server type and version: Linux
- Operating System and version: CentOS Linux release 7.9.2009 (Core)
- Filters and plugins:
Additional context
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.
This issue was closed because it has been stalled for 5 days with no activity.