logmania/logmania_example.conf

43 lines
651 B
Plaintext
Raw Normal View History

2018-09-06 13:36:25 +02:00
debug = false
2018-09-05 01:53:23 +02:00
database = "/tmp/logmania.state.json"
# have to be mote then a minute
alert_check = "5m"
# webserver
http_address = ":8080"
webroot = "./webroot/"
#########
# Input #
#########
[input.syslog]
type = "udp"
address = ":10001"
2017-08-17 21:45:58 +02:00
2018-09-05 01:53:23 +02:00
[input.journald_json]
2017-08-17 21:45:58 +02:00
type = "udp"
address = ":10002"
2018-04-26 21:05:27 +02:00
2018-09-11 20:09:59 +02:00
# [input.logrus] - WIP
[input.webhook]
2018-09-05 01:53:23 +02:00
##########
# Output #
##########
2018-04-26 21:05:27 +02:00
2018-09-05 01:53:23 +02:00
[output.file]
directory = "/tmp/"
default = "raw"
2018-05-18 14:04:54 +02:00
2018-09-05 01:53:23 +02:00
[output.xmpp]
2018-04-26 21:05:27 +02:00
jid = "user@example.org"
password = "password"
# if boolean is true for muc either user chat
default = { "log-raw@conference.example.org" = true, "person@example.org" = false }
2018-04-26 21:05:27 +02:00
2018-09-05 01:53:23 +02:00
[output.websocket]
default = "raw"