Tony Mack | b995914 | 2016-03-12 14:13:24 +0000 | [diff] [blame] | 1 | input { |
2 | syslog { | ||||
3 | type => syslog | ||||
4 | port => 514 | ||||
5 | } | ||||
6 | lumberjack { | ||||
7 | port => 5043 | ||||
8 | type => "logs" | ||||
9 | ssl_certificate => "/opt/logstash/certs/logstash-forwarder.crt" | ||||
10 | ssl_key => "/opt/logstash/certs/logstash-forwarder.key" | ||||
11 | } | ||||
12 | udp { | ||||
13 | port => 25826 | ||||
14 | buffer_size => 1452 | ||||
15 | codec => collectd { } | ||||
16 | } | ||||
17 | } | ||||
18 | output { | ||||
19 | |||||
20 | stdout { | ||||
21 | codec => json | ||||
22 | } | ||||
23 | |||||
24 | elasticsearch { | ||||
25 | host => "elasticsearch" | ||||
26 | port => "9300" | ||||
27 | } | ||||
28 | } |