practica-loki-grafana/1-1-grafana-loki-vs-elk/logstash.conf

18 lines
186 B
Plaintext
Raw Normal View History

2022-04-12 16:51:30 +02:00
input {
beats {
port => "5044"
}
}
filter {
json {
source => "message"
target => "fields"
}
}
output {
elasticsearch {
hosts => [ "elasticsearch:9200" ]
}
}