Cloud native log shipping daemon written in Go
Go to file
2022-11-06 20:37:43 +02:00
cmd prom mongo: use seconds instead of nanoseconds 2022-11-06 20:37:43 +02:00
.gitignore it is shipping and parsing 2022-11-06 03:43:52 +02:00
Dockerfile Add Dockerfile 2022-11-06 15:06:11 +02:00
go.mod defer closing tailable file via subcontext 2022-11-06 14:41:09 +02:00
go.sum defer closing tailable file via subcontext 2022-11-06 14:41:09 +02:00
go.work refactor and continue implementation of whole pkg 2022-11-03 12:28:18 +02:00
go.work.sum refactor and continue implementation of whole pkg 2022-11-03 12:28:18 +02:00
main.go rename package to logmower-shipper 2022-11-03 12:31:01 +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.