Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeremija/taily
Process journald and docker logs in a streaming fashion.
https://github.com/jeremija/taily
Last synced: 9 days ago
JSON representation
Process journald and docker logs in a streaming fashion.
- Host: GitHub
- URL: https://github.com/jeremija/taily
- Owner: jeremija
- License: apache-2.0
- Created: 2022-04-17T10:37:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-24T19:08:58.000Z (over 2 years ago)
- Last Synced: 2024-06-20T12:07:24.918Z (5 months ago)
- Language: Go
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# taily
Taily is a configurable system utility that can process messages and act on
them. The goal is to make it able to send alerts on errors.# Features
- Read log streams from `systemd journald` and `docker`
- Resume reading after a shutdown
- Create custom processing rules
- Send notifications when certain matches are found (e.g. Slack or Telegram)Work in progress.
# Configuration
See sample config file: [config.yml](config.yml) (subject to change until v2).
# Useful commands
| Action | Command |
|---------|----------------------------------------------------------------|
| Build | `make` or `go build -o bin/taily cmd` |
| Test | `make test` or `go test /...` |
| Run | `TAILY_CONFIG="$(cat config.yml)" go run ./cmd` |
| Run (2) | ` bin/taily -c config.yml` |
| Logs | `TAILY_LOG='**' TAILY_CONFIG="$(cat config.yml)" bin/taily` |The docker client can currently be configured with the default environment
variables:- `DOCKER_HOST` to set the url to the docker server.
- `DOCKER_API_VERSION` to set the version of the API to reach, leave empty for latest.
- `DOCKER_CERT_PATH` to load the TLS certificates from.
- `DOCKER_TLS_VERIFY` to enable or disable TLS verification, off by default.# Support
The development of Taily is sponsored by [rondomoon][rondomoon]. If you'd like
enterprise on-site support or become a sponsor, please contact
[[email protected]](mailto:[email protected]).[rondomoon]: https://rondomoon.com
# License
[Apache 2.0](LICENSE)