cloudwatchlogs

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudWatchLogs

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

func New

func New(sess *session.Session) CloudWatchLogs

func (*CloudWatchLogs) CreateLogGroup

func (cwl *CloudWatchLogs) CreateLogGroup(logGroupName string, a ...interface{}) string

func (*CloudWatchLogs) GetLogs

func (cwl *CloudWatchLogs) GetLogs(i *GetLogsInput) []LogLine

type GetLogsInput

type GetLogsInput struct {
	Filter         string
	LogGroupName   string
	LogStreamNames []string
	EndTime        time.Time
	StartTime      time.Time
}

type LogLine

type LogLine struct {
	EventId       string
	LogStreamName string
	Message       string
	Timestamp     time.Time
}

Jump to

Keyboard shortcuts

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