Deploy pfelk with docker-compose Video Tutorial
sudo apt-get install docker
sudo apt-get install docker-compose
sudo wget https://github.com/pfelk/docker/archive/refs/heads/main.zip
sudo apt-get install unzip
sudo unzip main.zip
sudo sysctl -w vm.max_map_count=262144
sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf
.env
Filesudo nano .env
.env
File as DesiredELK_VERSION=8.9.0
ELASTIC_PASSWORD=changeme
KIBANA_PASSWORD=changeme
LOGSTASH_PASSWORD=changeme
LICENSE=basic
LOGSTASH_PASSWORD
in configuration filessed -i 's/logstash_system_password/LOGSTASH-PASSWORD/' etc/logstash/config/logstash.yml
sed -i 's/elastic_password/ELASTIC-PASSWORD/' etc/pfelk/conf.d/50-outputs.pfelk
or use the Script
./set-logstash-password.sh
sudo docker-compose up
Once fully running, navigate to the host ip (ex: 192.168.0.100:5601)