Update GeoLite db URL as logstash 5.x doesn't support old database format anymore (#481)
This commit is contained in:
parent
0290eca7c6
commit
0c78cebd03
|
@ -12,7 +12,7 @@ RUN curl -L https://raw.githubusercontent.com/ninech/logstash-patterns/master/pa
|
||||||
RUN curl -L https://raw.githubusercontent.com/ninech/logstash-patterns/master/exmples/50-filter-dovecot.conf > /etc/logstash/conf.d/17-filter-dovecot.conf
|
RUN curl -L https://raw.githubusercontent.com/ninech/logstash-patterns/master/exmples/50-filter-dovecot.conf > /etc/logstash/conf.d/17-filter-dovecot.conf
|
||||||
# FIXME: may be a cron job?
|
# FIXME: may be a cron job?
|
||||||
RUN mkdir -p /usr/share/GeoIP && \
|
RUN mkdir -p /usr/share/GeoIP && \
|
||||||
curl -L http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz | gunzip -c - > /usr/share/GeoIP/GeoLiteCity.dat
|
curl -L http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz | gunzip -c - > /usr/share/GeoIP/GeoLiteCity.dat
|
||||||
|
|
||||||
WORKDIR ${LOGSTASH_HOME}
|
WORKDIR ${LOGSTASH_HOME}
|
||||||
RUN gosu logstash bin/logstash-plugin install --local --no-verify logstash-filter-geoip
|
RUN gosu logstash bin/logstash-plugin install --local --no-verify logstash-filter-geoip
|
||||||
|
|
Loading…
Reference in New Issue