cwlogs

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatcher

type Dispatcher struct {
	// contains filtered or unexported fields
}

Dispatcher dispatches logs to cloudwatch

func NewDispatcher

func NewDispatcher(config *config.SyslogConfig) (*Dispatcher, error)

NewDispatcher create a new dispatcher

func (*Dispatcher) Dispatch

func (d *Dispatcher) Dispatch(entries []*batching.LogEntry)

Dispatch handle entries and send them to cloudwatch

func (*Dispatcher) SetupCloudwatch

func (d *Dispatcher) SetupCloudwatch() error

SetupCloudwatch create cloudwatch group and stream

Jump to

Keyboard shortcuts

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