cloudwatch

package
v3.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Wraps cloudwatch log reading into one simple package

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(services *services.APIServices, logGroupName string, logStreamName string) (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