Need Help to install Translate filter in Logstash


(Narayan Krish) #1

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!


(Nachiket) #2

Hi,

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

https://www.elastic.co/guide/en/logstash/current/offline-plugins.html

Did you go through this page?

Regards,
Nachiket


(Narayan Krish) #3

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.


(Nachiket) #4

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.


(system) #5

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