Skip to content

Elementalish1/golang-cloudwatch-logs-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang CloudWatch Logs Example

build

Simple example explaining the basics of CloudWatch Logs.

Sample

func createLogStream() error {
	name := uuid.New().String()

	_, err := cwl.CreateLogStream(&cloudwatchlogs.CreateLogStreamInput{
		LogGroupName:  &logGroupName,
		LogStreamName: &name,
	})

	logStreamName = name

	return err
}

Step-By-Step Youtube Video

picture

More Information

Find the Cloudwatch Logs Documentation here.

About

An example of how to use Cloudwatch Logs with Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%