2018-04-13 16:44:23 +02:00
|
|
|
# logmania
|
2019-06-20 10:17:57 +02:00
|
|
|
|
2019-08-08 15:51:55 +02:00
|
|
|
[![pipeline status](https://dev.sum7.eu/sum7/logmania/badges/master/pipeline.svg)](https://dev.sum7.eu/genofire/logmania/pipelines)
|
|
|
|
[![coverage report](https://dev.sum7.eu/sum7/logmania/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/logmania/pipelines)
|
|
|
|
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/sum7/logmania)](https://goreportcard.com/report/dev.sum7.eu/genofire/logmania)
|
|
|
|
[![GoDoc](https://godoc.org/dev.sum7.eu/sum7/logmania?status.svg)](https://godoc.org/dev.sum7.eu/genofire/logmania)
|
2018-09-07 13:35:33 +02:00
|
|
|
|
|
|
|
|
|
|
|
This is a little logging server.
|
|
|
|
|
|
|
|
## input
|
|
|
|
It receive logs (events) by:
|
|
|
|
- syslog
|
|
|
|
- journald (with service nc)
|
|
|
|
|
|
|
|
## output
|
|
|
|
And forward this logs (events) to multiple different output:
|
|
|
|
- xmpp (client and muc)
|
|
|
|
- file
|
|
|
|
|
|
|
|
there a multi filter possible
|
|
|
|
- regex
|
|
|
|
- priority
|
|
|
|
|
|
|
|
it could replace text by regex expression
|
|
|
|
|
|
|
|
configuration live possible by bot (on input e.g. xmpp)
|
2019-06-20 09:25:02 +02:00
|
|
|
|
2019-06-20 10:17:57 +02:00
|
|
|
## Get logmania
|
|
|
|
|
|
|
|
#### Download
|
|
|
|
|
|
|
|
Latest Build binary from ci here:
|
|
|
|
|
2019-08-08 15:51:55 +02:00
|
|
|
[Download All](https://dev.sum7.eu/sum7/logmania/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
|
2019-06-20 10:17:57 +02:00
|
|
|
|
2019-08-08 15:51:55 +02:00
|
|
|
[Download Binary](https://dev.sum7.eu/sum7/logmania/-/jobs/artifacts/master/raw/bin/logmania?inline=false&job=build-my-project)
|
2019-06-20 10:17:57 +02:00
|
|
|
|
|
|
|
#### Build
|
|
|
|
|
|
|
|
```bash
|
2019-08-08 15:51:55 +02:00
|
|
|
go get -u dev.sum7.eu/sum7/logmania
|
2019-06-20 10:17:57 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
## Configure
|
|
|
|
|
|
|
|
see `config_example.toml`
|
|
|
|
|
|
|
|
|
2019-06-20 09:25:02 +02:00
|
|
|
## Related Projects
|
|
|
|
|
2019-08-08 15:51:55 +02:00
|
|
|
- [hook2xmpp](https://dev.sum7.eu/sum7/hook2xmpp) for e.g. grafana, alertmanager(prometheus), gitlab, git, circleci
|