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]
|
2017-08-10 20:11:35 +02:00
|
|
|
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-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]
|
2018-09-04 22:11:20 +02:00
|
|
|
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"
|
2018-09-04 22:11:20 +02:00
|
|
|
# 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]
|
2018-09-04 22:11:20 +02:00
|
|
|
default = "raw"
|