ip2location / logstash-filter-ip2location

IP2Location filter plugin for Logstash enables Logstash's users to add geolocation information such as country, state, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection speed, IDD code, area code, weather station code, weather station name, MNC, MCC, mobile brand, elevation and usage type by IP address.
https://www.ip2location.com
Other
20 stars 5 forks source link

install error. in logstash-5.6.8 #6

Closed zqc0512 closed 6 years ago

zqc0512 commented 6 years ago
 ./logstash-plugin install logstash-filter-ip2location.gem 
Validating logstash-filter-ip2location.gem
Installing logstash-filter-ip2location
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue.
Make sure that `gem install logstash-core -v '5.6.8'` succeeds before bundling.
ip2location commented 6 years ago

Please make sure the logstash-core 5.6.8 is installed correct.

zqc0512 commented 6 years ago

yes , i use elastic logstash.tar.gz file to use the logstash the version is 5.6.8 @ip2location thanks.

./logstash -V
logstash 5.6.8
zqc0512 commented 6 years ago

i see the logstash can support offline pack https://www.elastic.co/guide/en/logstash/5.6/offline-plugins.html can as this give me a .zip file?

ip2location commented 6 years ago

@zqc0512 is Java 8 installed at your side too?

zqc0512 commented 6 years ago

yes .the logstash 5.6.8 can running success and input message output messages to elasticsearch 5.6.8 @ip2location

zqc0512 commented 6 years ago

use gem also can't install logstash-core

[root@soc logstash-5.6.8]# gem install logstash-core -v 5.6.8
ERROR:  Could not find a valid gem 'logstash-core' (= 5.6.8), here is why:
          **Found logstash-core (5.6.8), but was for platform java**
ERROR:  Possible alternatives: logstash-core
zqc0512 commented 6 years ago

i use internet install the other error is output

[root@soc logstash-5.6.8]# bin/logstash-plugin install --no-verify logstash-filter-ip2location 

Installing logstash-filter-ip2location

Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core (5.6.8), and Bundler cannot continue.
Make sure that `gem install logstash-core -v '5.6.8'` succeeds before bundling.
zqc0512 commented 6 years ago

i slove it as: https://discuss.elastic.co/t/how-to-install-plugin-with-gem-file/126060/3