Pfelk Docker Save Abandoned

Deploy pfelk with docker-compose

Project README

Merged repository with pfelk/pfelk

  • 13 Augsut 2023

Elastic Integration

docker-pfelk

Deploy pfelk with docker-compose Video Tutorial

Version badge

YouTube

(0) Required Prerequisits

  • Docker
  • Docker-Compose
  • Adequate Memory (i.e. 8GB+)

(1) Docker Install

sudo apt-get install docker
sudo apt-get install docker-compose

(2) Download pfELK Docker

sudo wget https://github.com/pfelk/docker/archive/refs/heads/main.zip

(2a) Unzip pfelkdocker.zip

sudo apt-get install unzip
sudo unzip main.zip

(3) Memory

(3a) Set vm.max_map_count to no less than 262144 (must run each time host is booted)

sudo sysctl -w vm.max_map_count=262144

(3b) Set vm.max_map_count to no less than 262144 (one time configuration)

sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf

(4) Configure Variables (Credentials)

(4a) Edit .env File

sudo nano .env

(4b) Amend .env File as Desired

ELK_VERSION=8.9.0
ELASTIC_PASSWORD=changeme
KIBANA_PASSWORD=changeme
LOGSTASH_PASSWORD=changeme
LICENSE=basic

(4c) Update LOGSTASH_PASSWORD in configuration files

sed -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

(5) Start Docker

sudo docker-compose up

Once fully running, navigate to the host ip (ex: 192.168.0.100:5601)

(6) Install Templates

(7) Finish Configuring

  • Finish Configuring here

(8) Finished

Open Source Agenda is not affiliated with "Pfelk Docker" Project. README Source: pfelk/docker
Stars
55
Open Issues
1
Last Commit
9 months ago
License

Open Source Agenda Badge

Open Source Agenda Rating