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" Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type LogData func FetchLogs(logGroupName string, services *services.APIServices) (LogData, error) type LogLine 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"` } Source Files ¶ View all Source files fetch-logs.go Click to show internal directories. Click to hide internal directories.