docker-elk/logstash/config/logstash.conf

21 lines
244 B
Plaintext

input {
tcp {
port => 5000
}
}
## Add your filters here
# Added a default json filter for parsing the "message" field
filter {
json {
source => "message"
}
}
output {
elasticsearch {
hosts => "elasticsearch:9200"
}
}