logstash-greenfield

Install

$ sudo apt-get install default-jre -yqq
$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
$ sudo apt-get install apt-transport-https -yqq
$ echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
$ sudo apt-get update && sudo apt-get install logstash -yqq

Status

$ sudo systemctl status logstash

Run

$ sudo bin/logstash -e 'input { stdin {} } output { stdout { }}' --path.settings /etc/logstash

Configuration

input {
    stdin { }
}

output {
    stdout {
        debug => true
    }
}

Documentation