Need Help to install Translate filter in Logstash

My server(centos) has logstash installed but I donot have internet connection there.
1)So I installed translate filter from below site in my local machine(Windows os).
https://rubygems.org/gems/logstash-filter-translate
2)Then I copied the downloaded gem file to my server and ran the command:
/home/logstash/bin/logstash-plugin prepare-offline-pack logstash-filter-translate-3.0.3.gem
But I get below error:
ERROR: No such sub-command 'prepare-offline-pack'

Also tried:- /home/logstash/bin/logstash-plugin --local logstash-filter-translate
error:-ERROR: Unrecognised option '--local'

Please help with this!

Hi,

I am no expert in plugin installation, however, your method seems a bit wrong!

Offline Plugin Management | Logstash Reference [8.11] | Elastic

Did you go through this page?

Regards,
Nachiket

I did not quite understand the https://www.elastic.co/guide/en/logstash/current/offline-plugins.html,
so if you could help me with the installation, it would be highly appreciated.

That would be quite difficult. The documentation is straight forward.

Basically, you would need a staging server. This server should have internet access. Once, you install the plugin on the staging server, you can pack it and install it manually on your production server.

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