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