<counters>
flush_interval = 300
</counters>
<logging>
level = DEBUG
#file = syslog
</logging>
<Input syslog-input>
module = "Server"
proto = "tcp"
port = 10514
listen = "0.0.0.0"
</Input>
<Input relp-input>
module = "RELP"
proto = "tcp"
port = 20514
listen = "0.0.0.0"
</Input>
# decode syslog format
<Plugin syslog>
module = "Syslog"
</Plugin>
<Plugin mtpolicyd>
module = "MtPolicyd"
</Plugin>
<Plugin postfix>
module = "Postfix"
extended = 1
verp_mung = 1
</Plugin>
<Plugin amavis>
module = "Amavis"
</Plugin>
<Plugin netfilter>
module = "LinuxNetfilter"
</Plugin>
<Plugin apache>
module = "Apache"
</Plugin>
# get GeoIP information
<Plugin geoip>
module = "GeoIP"
address_fields = "client_ip,src"
</Plugin>
# attach GeoIP information to postfix logs
<Plugin postfix-geoip>
module = "PostfixGeoStats"
</Plugin>
#<Plugin graphit>
# module = "GraphitLineFormat"
#</Plugin>
#<CounterOutput dump>
# module = "Dump"
#</CounterOutput>
#<CounterOutput graphite>
# module = "Graphite"
# host = 127.0.0.1
# port = 2003
# prefix = "saftpresse"
#</CounterOutput>
#<Output dump>
# module = "JSON"
#</Output>
<Output es>
module = "Elasticsearch"
nodes = "elasticsearch:9200"
</Output>
#<Output graphit>
# module = "Graphite"
# host = 127.0.0.1
# port = 2003
# prefix = "saftpresse-metric"
#</Output>