mirror of
https://github.com/Febbweiss/docker-log-centralizer.git
synced 2026-03-04 14:25:35 +00:00
22 lines
363 B
Plaintext
22 lines
363 B
Plaintext
input {
|
|
beats {
|
|
port => 5044
|
|
}
|
|
lumberjack {
|
|
port => 5043
|
|
ssl_key => "/ssl/selfsigned.key"
|
|
ssl_certificate => "/ssl/selfsigned.crt"
|
|
}
|
|
}
|
|
output {
|
|
kafka {
|
|
codec => json
|
|
bootstrap_servers => "kafka:9092"
|
|
topic_id => "%{type}"
|
|
}
|
|
if [type] == "apache-forwarder" || [type] == "random-forwarder" {
|
|
stdout {
|
|
codec => rubydebug
|
|
}
|
|
}
|
|
} |