d142fa9295e0ba7fdd5a3a67a74b63333e614547
logmower-shipper
Watches log directory for logs, and ships them to mongo.
- Running:
go run .
- Building:
go build .
Files
mower.go
acts as the main routine: initializes (includingmongo.go
) and watches for new files in log directory.submit.go
watches file contents and tails them, streaming tosender.go
.sender.go
batches lines and ships them to mongo.
Description
Languages
Go
98.3%
Dockerfile
1.7%