Before you begin: If you haven’t installed the Elastic Stack, do that now. See Getting started with the Elastic Stack.
To download and install Journalbeat, use the commands that work with your system.
curl -L -O https://artifacts.elastic.co/downloads/beats/journalbeat/journalbeat-7.2.1-amd64.deb sudo dpkg -i journalbeat-7.2.1-amd64.deb
curl -L -O https://artifacts.elastic.co/downloads/beats/journalbeat/journalbeat-7.2.1-x86_64.rpm sudo rpm -vi journalbeat-7.2.1-x86_64.rpm
curl -L -O https://artifacts.elastic.co/downloads/beats/journalbeat/journalbeat-7.2.1-linux-x86_64.tar.gz tar xzvf journalbeat-7.2.1-linux-x86_64.tar.gz
See Running on Docker for deploying Docker containers.