Deploy pfelk with docker-compose
- Docker Working
- Create download script
- Create Instructions
- Create Video Tutorial
- Docker
- Docker-Compose
- Maxmind
sudo apt-get install docker
sudo apt-get install docker-compose
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:maxmind/ppa
sudo apt-get install geoipupdate
sudo wget https://github.com/3ilson/docker-pfelk/archive/master.zip
sudo apt-get install unzip
sudo unzip master.zip
- Ceate a Max Mind Account @ https://www.maxmind.com/en/geolite2/signup
- Login to your Max Mind Account; navigate to "My License Key" under "Services" and Generate new license key
- Enter the Account ID and Key to the file below
sudo nano /etc/GeoIP.conf
- Wait up to 5min and initiate geoipupdate
geoipupdate
- GeoLike2-ASN.mmdb
- GeoLite2-City.mmdb
- GeoLite2-Country.mmdb
sudo cp /usr/share/GeoIP/GeoLite2-City.mmdb docker-pfelk-master/logstash/GeoIP/
sudo cp /usr/share/GeoIP/GeoLite2-Country.mmdb docker-pfelk-master/logstash/GeoIP/
sudo sysctl -w vm.max_map_count=262144
sudo echo "vm.max_map_count=262144" >> /etc/sysctl.conf
Amend line #9 to match your pfSense or OPNsense IP address
Amend line 24-29 comment or uncomment the OPNsense or pfSense grok pattern
sudo docker-compose up
Once fully running, navigate to the host ip (ex: 192.168.0.100:5601)