Feature: add Logstash-Forwarder as agent

This commit is contained in:
ECAILLE Fabrice (externe)
2017-03-17 15:35:36 +01:00
parent e0b11ef1a2
commit 4cc77930d9
8 changed files with 174 additions and 9 deletions

View File

@@ -2,6 +2,11 @@ input {
beats {
port => 5044
}
lumberjack {
port => 5043
ssl_key => "/ssl/selfsigned.key"
ssl_certificate => "/ssl/selfsigned.crt"
}
}
output {
kafka {
@@ -9,7 +14,9 @@ output {
bootstrap_servers => "kafka:9092"
topic_id => "%{type}"
}
stdout {
codec => rubydebug
if [type] == "apache-forwarder" || [type] == "random-forwarder" {
stdout {
codec => rubydebug
}
}
}