apt update apt -y dist-upgrade #################################################################### # Be sure to get OSS version. The "Elastic License" is a non-free, proprietary license. # https://www.elastic.co/downloads/logstash-oss apt update apt install openjdk-8-jre-headless # Install logstash # Disable apt-cache in /etc/apt/apt.conf, it doesn't work with https wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - echo "deb https://artifacts.elastic.co/packages/6.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-6.x.list # Disable apt cache in /etc/apt/apt.conf apt update apt-get install logstash # Start on boot: systemctl enable logstash.service # Open firewall # Start on boot: systemctl enable logstash.service ### XXX Backups ### XXX Prometheus :)