mirror of
https://github.com/Febbweiss/docker-log-centralizer.git
synced 2026-03-04 22:35:36 +00:00
Feature: add Logstash-Forwarder as agent
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user