15 lines
228 B
Plaintext
15 lines
228 B
Plaintext
input {
|
|
tcp {
|
|
mode => "server"
|
|
host => "0.0.0.0"
|
|
port => 4560
|
|
codec => json_lines
|
|
}
|
|
}
|
|
output {
|
|
elasticsearch {
|
|
hosts => "127.0.0.1:9200"
|
|
index => "%{[spring.application.name]}-%{+YYYY.MM.dd}"
|
|
}
|
|
}
|