blob: 8d3f57c37165f2081919e19286bf0d7fd4cd9b3f [file] [log] [blame]
Tony Mackb9959142016-03-12 14:13:24 +00001input {
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}
18output {
19
20stdout {
21 codec => json
22}
23
24elasticsearch {
25 host => "elasticsearch"
26 port => "9300"
27 }
28}