linux-tutorial/codes/deploy/tool/elk/config/logstash.conf

13 lines
191 B
Plaintext
Raw Normal View History

2018-02-02 15:28:50 +08:00
input {
tcp {
port => 9251
codec => json_lines
mode => server
tags => ["javaapp"]
}
}
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}