Skip to content
Search

Logstash

lastmod 2021-03-02created 2018-07-3112 edits

Projects

Input plugins

Gelf input plugin

Docker GELF logging

The logstash.conf configuration for the pipeline is as follows:

input {
    gelf {
        port => 12201
    }
}
output {
    elasticsearch {
        hosts => ["elasticsearch:9200"]
        index => "logstash-%{+YYYY-MM-dd}"
    } 
}

How to output in Graylog's GEFL format:

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'

ELK Stack

List of Log Aggregator

Favorite site

author Zer0 sitemap