<counters>
	flush_interval = 300
</counters>

<logging>
  level = DEBUG
  #file = syslog
</logging>

<Input rsyslog-input>
	module = "RELP"
	proto = "tcp"
	port = 20514
	listen = "127.0.0.1"
</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 = "localhost:9200"
</Output>

<Output graphit>
	module = "Graphite"
	host = 127.0.0.1
	port = 2003
	prefix = "saftpresse-metric"
</Output>