linux-tutorial/codes/linux/ops/service/elk/config/logstash.conf
2019-02-22 11:34:34 +08:00

13 lines
191 B
Plaintext

input {
tcp {
port => 9251
codec => json_lines
mode => server
tags => ["javaapp"]
}
}
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}