Skip to content

AWS Cloudwatch Logs forwarder

License

Unknown, GPL-3.0 licenses found

Licenses found

Unknown
LICENSE.md
GPL-3.0
GPL3_LICENSE.md
Notifications You must be signed in to change notification settings

ClearcodeHQ/Go-Forward

Repository files navigation

Build Status Coverage Status

This program's purpose is to forward all logs received from a unix/ip socket and forward them to cloudwatch logs.

Motivation:

  • Learn go
  • Small memory footprint
  • No file readers
  • Socket listeners

Usage:

-c string
	Config file location. (default "/etc/logs_agent.cfg")

See config.ini for possible configuration options.

Program behaviour:

  • Logs that are too old are discarded.
  • Logs that exceed their allowed size are discarded.
  • Incoming message timestamps are only used to set cloudwatch logs timestamp value. They are not written in message body.