Install Logstash on Linux or Mac OS X

Download package

All products

Manual Installation

tar -xzvf /home/lytvynov/Téléchargements/logstash-6.2.4.tar.gz
cd logstash-6.2.4
bin/logstash -e “input { stdin { } } output { stdout {} }”
Pipeline error

Simple pipeline

input {
stdin {
codec => json
}
}
output {
stdout {
codec => rubydebug
}
}
touch path_to_logstash/config/pipelines/pipeline.conf
bin/logstash -f config/pipelines/pipeline.conf

Install Logstash with Homebrew on Mac OS X

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install logstash
logstash -e “input { stdin { } } output { stdout {} }”

Congratulations !

Senior web developer, architect, cryptocurrencies trader, https://lytvynov-anton.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store