s3

package
v0.0.0-...-9cdc037 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2018 License: MIT Imports: 9 Imported by: 0

README

S3 Output Plugin

This plugin writes telegraf metrics to AWS S3

Configuration
[[outputs.s3]]
  ## Bucket to write to
  bucket = "bucketname"
  ## AWS Access Key
  access_key = "123456789"
  ## AWS Secret Key
  secret_key = "123456789"

  ## Data format to output.
  ## Each data format has its own unique set of configuration options, read
  ## more about them here:
  ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md
  data_format = "influx"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

type S3 struct {
	Bucket    string
	AccessKey string
	SecretKey string
	// contains filtered or unexported fields
}

func (*S3) Close

func (s *S3) Close() error

func (*S3) Connect

func (s *S3) Connect() error

func (*S3) Description

func (s *S3) Description() string

func (*S3) SampleConfig

func (s *S3) SampleConfig() string

func (*S3) SetSerializer

func (f *S3) SetSerializer(serializer serializers.Serializer)

func (*S3) Write

func (s *S3) Write(metrics []telegraf.Metric) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL