logstash-springboot.conf 211 B

1234567891011121314
  1. input {
  2. tcp {
  3. mode => "server"
  4. host => "0.0.0.0"
  5. port => 4560
  6. codec => json_lines
  7. }
  8. }
  9. output {
  10. elasticsearch {
  11. hosts => "es:9200"
  12. index => "springboot-logstash-%{+YYYY.MM.dd}"
  13. }
  14. }