mirror of
https://github.com/dunwu/linux-tutorial.git
synced 2024-04-15 19:55:24 +08:00
13 lines
191 B
Plaintext
13 lines
191 B
Plaintext
input {
|
|
tcp {
|
|
port => 9251
|
|
codec => json_lines
|
|
mode => server
|
|
tags => ["javaapp"]
|
|
}
|
|
}
|
|
output {
|
|
elasticsearch { hosts => ["localhost:9200"] }
|
|
stdout { codec => rubydebug }
|
|
}
|