lilishop-docker/config/logstash-springboot.conf

14 lines
222 B
Plaintext
Raw Normal View History

2021-05-28 16:22:02 +08:00
input {
tcp {
mode => "server"
host => "0.0.0.0"
port => 4560
codec => json_lines
}
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
index => "springboot-logstash-%{+YYYY.MM.dd}"
}
}