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
- Host: GitHub
- URL: https://github.com/clearcodehq/go-forward
- Owner: ClearcodeHQ
- License: other
- Created: 2016-08-05T08:56:41.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-19T20:30:54.000Z (about 8 years ago)
- Last Synced: 2025-03-30T13:37:08.731Z (3 months ago)
- Topics: aws, awslogs, cloudwatch-logs, golang, logs, syslog
- Language: Go
- Homepage:
- Size: 938 KB
- Stars: 9
- Watchers: 13
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[](https://travis-ci.org/ClearcodeHQ/Go-Forward)
[](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.