2018-04-13 16:44:23 +02:00
|
|
|
# logmania
|
2019-06-20 10:17:57 +02:00
|
|
|
|
|
|
|
[![pipeline status](https://dev.sum7.eu/genofire/logmania/badges/master/pipeline.svg)](https://dev.sum7.eu/genofire/logmania/pipelines)
|
|
|
|
[![coverage report](https://dev.sum7.eu/genofire/logmania/badges/master/coverage.svg)](https://dev.sum7.eu/genofire/logmania/pipelines)
|
2018-04-13 16:44:23 +02:00
|
|
|
[![Go Report Card](https://goreportcard.com/badge/dev.sum7.eu/genofire/logmania)](https://goreportcard.com/report/dev.sum7.eu/genofire/logmania)
|
|
|
|
[![GoDoc](https://godoc.org/dev.sum7.eu/genofire/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:
|
|
|
|
|
|
|
|
[Download All](https://dev.sum7.eu/genofire/logmania/-/jobs/artifacts/master/download/?job=build-my-project) (with config example)
|
|
|
|
|
|
|
|
[Download Binary](https://dev.sum7.eu/genofire/logmania/-/jobs/artifacts/master/raw/logmania?inline=false&job=build-my-project)
|
|
|
|
|
|
|
|
#### Build
|
|
|
|
|
|
|
|
```bash
|
|
|
|
go get -u dev.sum7.eu/genofire/logmania
|
|
|
|
```
|
|
|
|
|
|
|
|
## Configure
|
|
|
|
|
|
|
|
see `config_example.toml`
|
|
|
|
|
|
|
|
|
2019-06-20 09:25:02 +02:00
|
|
|
## Related Projects
|
|
|
|
|
|
|
|
- [hook2xmpp](https://dev.sum7.eu/genofire/hook2xmpp) for e.g. grafana, alertmanager(prometheus), gitlab, git, circleci
|