Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { AccessKeyId string AccessKeySecret string BucketName string BucketPrefix string Region string }
Config defines configuration for s3 output.
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
S3 implements Collector.Ouput Interface. S3 allows the logs to be uploaded to S3 bucket with defined prefix.
func New ¶
New returns *S3. It performs an authentication of the specified credentials and returns error if failed.
Click to show internal directories.
Click to hide internal directories.