Files
pfsense-analytics/Docker/graylog/getGeo.sh
MatthewJSalerno 1051c95fca Updated the graylog image to pull in the GeoIP when built.
To update the GeoIP all you need to do is rebuild the image
(docker-compose build)
2019-11-22 23:43:42 -05:00

4 lines
246 B
Bash

GRAYLOG_PLUGIN_DIR=/etc/graylog/server/
curl --output ${GRAYLOG_PLUGIN_DIR}/mm.tar.gz https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
tar zxvf ${GRAYLOG_PLUGIN_DIR}/mm.tar.gz -C ${GRAYLOG_PLUGIN_DIR} --strip-components=1