Update logstash-springboot.conf
This commit is contained in:
parent
e0ac85a7b8
commit
24d7898e6a
@ -1,10 +1,14 @@
|
||||
input {
|
||||
tcp {
|
||||
port => 4560
|
||||
codec => json_lines
|
||||
}
|
||||
tcp {
|
||||
mode => "server"
|
||||
host => "0.0.0.0"
|
||||
port => 4560
|
||||
codec => json_lines
|
||||
}
|
||||
}
|
||||
output{
|
||||
elasticsearch { hosts => ["localhost:9200"] }
|
||||
stdout { codec => rubydebug }
|
||||
output {
|
||||
elasticsearch {
|
||||
hosts => "es:9200"
|
||||
index => "springboot-logstash-%{+YYYY.MM.dd}"
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user