Logstash
Projects
Input plugins
Gelf input plugin
Docker GELF logging
- Send Your Docker Container Logs to ELK (Elasticsearch, Logstash and Kibana) with Gelf Driver (Docker:Logging, GEFL, Elasticsearch, Logstash, Kibana)
- [Parsing Logs with Logstash | Logstash Reference 7.11 | Elastic]
- Docker GELF 로깅 드라이버에 대한 필드로 로그 수준 - Javaer101
파이프라인을 위한 logstash.conf
설정은 다음과 같다:
input {
gelf {
port => 12201
}
}
output {
elasticsearch {
hosts => ["elasticsearch:9200"]
index => "logstash-%{+YYYY-MM-dd}"
}
}
docker run --log-driver gelf --log-opt gelf-address=udp://localhost:12201 --rm -it ubuntu bash -c 'while true; do echo kkkkk; sleep 1; done'