Cloud native log shipping daemon written in Go
Go to file
2022-11-09 19:52:39 +02:00
pkg comments 2022-11-09 19:52:39 +02:00
vendor refactor: use py mongo struct + stdlib log 2022-11-09 15:59:30 +02:00
.drone.yml add drone? 2022-11-07 00:26:12 +02:00
.gitignore it is shipping and parsing 2022-11-06 03:43:52 +02:00
Dockerfile go mod vendor 2022-11-07 00:26:05 +02:00
go.mod refactor: use py mongo struct + stdlib log 2022-11-09 15:59:30 +02:00
go.sum refactor: use py mongo struct + stdlib log 2022-11-09 15:59:30 +02:00
main.go restructure project 2022-11-09 18:07:28 +02:00
README.md Add README.md 2022-11-06 15:04:16 +02:00

logmower-shipper

Watches log directory for logs, and ships them to mongo.

  • Running: go run .
  • Building: go build .

Files

  1. mower.go acts as the main routine: initializes (including mongo.go) and watches for new files in log directory.
  2. submit.go watches file contents and tails them, streaming to sender.go.
  3. sender.go batches lines and ships them to mongo.