Documentation ¶
Overview ¶
Package s3 implements the output of logs to an AWS s3 bucket
For configuration, "type", "bucket", "region", and "prefix" are all required.
"delimiter" is optional and controls the character written between log entries, by default "/n"
output: type: aws:s3 bucket: "bucket_name" region: "us-west" delimiter: "/n" prefix: "my_name" ;; my_name_0123456789_001.gz
Assumptions:
- Either aws credentials file or environment variables (AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY) are set.
- Credentials have rights to put an S3 object into the bucket.
Index ¶
Constants ¶
View Source
const Name = "s3"
Name is the name used in the configuration file and the registry.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.