Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 876 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 876 Bytes

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.