Documentation ¶
Overview ¶
Package cloudwatch provides primitives to interact with Cloudwatch logs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CW ¶
type CW struct {
// contains filtered or unexported fields
}
CW provides the APIo peration methods for making requests to AWS cloudwatch logs.
func (*CW) LsGroups ¶
LsGroups lists the stream groups It returns a channel where the stream groups are published
func (*CW) LsStreams ¶
func (cwl *CW) LsStreams(groupName *string, streamName *string, startTimeMillis int64, endTimeMillis int64) <-chan *string
LsStreams lists the streams of a given stream group It returns a channel where the stream names are published
func (*CW) Tail ¶
func (cwl *CW) Tail(logGroupName *string, logStreamName *string, follow *bool, startTime *time.Time, endTime *time.Time, grep *string, grepv *string) <-chan *cloudwatchlogs.FilteredLogEvent
Tail tails the given stream names in the specified log group name To tail all the available streams logStreamName has to be '*' It returns a channel where logs line are published Unless the follow flag is true the channel is closed once there are no more events available