mall/document/elk/logstash-springboot.conf
2019-06-29 16:32:46 +08:00

14 lines
211 B
Plaintext

input {
tcp {
mode => "server"
host => "0.0.0.0"
port => 4560
codec => json_lines
}
}
output {
elasticsearch {
hosts => "es:9200"
index => "springboot-logstash-%{+YYYY.MM.dd}"
}
}