An open API service indexing awesome lists of open source software.

https://github.com/clearcodehq/go-forward

AWS Cloudwatch Logs forwarder
https://github.com/clearcodehq/go-forward

aws awslogs cloudwatch-logs golang logs syslog

Last synced: about 2 months ago
JSON representation

AWS Cloudwatch Logs forwarder

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/ClearcodeHQ/Go-Forward.svg)](https://travis-ci.org/ClearcodeHQ/Go-Forward)
[![Coverage Status](https://coveralls.io/repos/github/ClearcodeHQ/Go-Forward/badge.svg?branch=master)](https://coveralls.io/github/ClearcodeHQ/Go-Forward?branch=master)

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](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.