cloudwatch

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

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

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

README

Cloudwatch

This allows us to fetch log entries from cloudwatch We also write to cloudwatch from core/logger using an external library: "github.com/jcxplorer/cwlogger"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogData

type LogData struct {
	Lines []LogLine `json:"lines"`
}

func FetchLogs

func FetchLogs(logGroupName string, services *services.APIServices) (LogData, error)

type LogLine

type LogLine struct {
	TimestampUnixMs int64  `json:"timeStampUnixMs"`
	Message         string `json:"message"`
}

Jump to

Keyboard shortcuts

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