1. Official website documents
https://www.elastic.co/guide/en/logstash/current/index.html
Two, installation steps
Reference section: https://www.elastic.co/guide/en/logstash/current/installing-logstash.html
Three, view the installation file
#View the installation directory: $ rpm -ql logstash
#Installation file directory:
#Log storage location:
Fourth, the simplest example demonstration
/usr/share/logstash/bin/logstash -e 'input{stdin{}} output{stdout{}}'