Geoip setup failure


I'm trying to setup logstash (ver 7.16) with offline geoip update based on Geoip filter plugin | Logstash Reference [7.16] | Elastic , but it fails on step 4:

./bin/elasticsearch-geoip -s /usr/share/GeoIP

A CLI tool to prepare local GeoIp database service

Option (* = required)  Description
---------------------  -----------
-h, --help             Show help
* -s, --source         Source directory
-t, --target           Target directory
-v, --verbose          Show verbose output
ERROR: E is not a recognized option

content of /usr/share/GeoIP:

ls -l /usr/share/GeoIP
-rw-r--r--. 1 root root 56548946 Jun  7  2018 GeoLite2-City.mmdb
-rw-r--r--  1 root root  2246679 May 31 06:55 GeoLite2-Country.dat
-rw-r--r--  1 root root  5396546 May 31 06:55 GeoLite2-Country.mmdb

any hints to progress??

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.