# Need Help to install Translate filter in Logstash

**URL:** https://discuss.elastic.co/t/need-help-to-install-translate-filter-in-logstash/100276
**Category:** Logstash
**Created:** [September 13, 2017, 3:51am UTC](https://discuss.elastic.co/t/need-help-to-install-translate-filter-in-logstash/100276 "2017-09-13T03:51:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Akrishna](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Akrishna](https://discuss.elastic.co/u/Akrishna)
#### Post date: [September 13, 2017, 3:51am UTC](https://discuss.elastic.co/t/need-help-to-install-translate-filter-in-logstash/100276/1 "2017-09-13T03:51:30Z")

</div>

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](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!

---

<div class="post-metadata">

### Author: ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)
#### Post date: [September 13, 2017, 6:10am UTC](https://discuss.elastic.co/t/need-help-to-install-translate-filter-in-logstash/100276/2 "2017-09-13T06:10:43Z")

</div>

Hi,

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

> [Offline Plugin Management | Logstash Reference [8.11] | Elastic](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html)

Did you go through this page?

Regards,  
Nachiket

---

<div class="post-metadata">

### Author: ![Akrishna](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Akrishna](https://discuss.elastic.co/u/Akrishna)
#### Post date: [September 13, 2017, 6:19am UTC](https://discuss.elastic.co/t/need-help-to-install-translate-filter-in-logstash/100276/3 "2017-09-13T06:19:40Z")

</div>

I did not quite understand the [https://www.elastic.co/guide/en/logstash/current/offline-plugins.html](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.

---

<div class="post-metadata">

### Author: ![NerdSec](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nerdsec/32/22056_2.png) [@NerdSec](https://discuss.elastic.co/u/NerdSec)
#### Post date: [September 13, 2017, 6:22am UTC](https://discuss.elastic.co/t/need-help-to-install-translate-filter-in-logstash/100276/4 "2017-09-13T06:22:25Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 11, 2017, 6:23am UTC](https://discuss.elastic.co/t/need-help-to-install-translate-filter-in-logstash/100276/5 "2017-10-11T06:23:06Z")

</div>

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