I want to install logstash-filter-json_encode plugin in offline mode on logstash 6.3.0.
Please let me know the steps to follow.
What I am doing:
- Installed plugin using logstash-plugin install logstash-filter-json_encode
- run command logstash-plugin prepare-offline-pack logstash-filter-json_encode
Offline package created at: C:/Users/deepsing/Downloads/logstash-6.3.0/logstash-offline-plugins-6.3.0.zip
You can install it with this command `bin/logstash-plugin install file://C:/Users/deepsing/Downloads/logstash-6.3.0/logstash-offline-plugins-6.3.0.zip`
- Uninstall the plugin the existing plugin logstash-plugin uninstall logstash-filter-json_encode
- Stop internet connectivity
- Run this command to install plugin offline logstash-plugin install file://C:/Users/deepsing/Downloads/logstash-6.3.0/logstash-offline-plugins-6.3.0.zip`
I am getting below error:
Unable to download data from https://rubygems.org - SocketError: Failed to open TCP connection to rubygems.org:443 (initialize: name or service not known) (https://rubygems.org/latest_specs.4.8.gz)
ERROR: Installation aborted, verification failed for logstash-offline-plugins-6.3.0.zip