# Install logstash-filter-json\_encode

**URL:** <https://discuss.elastic.co/t/install-logstash-filter-json-encode/152586>\
**Category:** Logstash\
**Created:** [October 16, 2018, 5:10am UTC](https://discuss.elastic.co/t/install-logstash-filter-json-encode/152586 "2018-10-16T05:10:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deepsing](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@deepsing](https://discuss.elastic.co/u/deepsing)\
**Post date:** [October 16, 2018, 5:10am UTC](https://discuss.elastic.co/t/install-logstash-filter-json-encode/152586/1 "2018-10-16T05:10:10Z")

</div>

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:

1. Installed plugin using **logstash-plugin install logstash-filter-json\_encode**
2. run command **logstash-plugin prepare-offline-pack logstash-filter-json\_encode**

```auto
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`

```

1. Uninstall the plugin the existing plugin **logstash-plugin uninstall logstash-filter-json\_encode**
2. Stop internet connectivity
3. 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:

```auto
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

```

---

<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:** [November 13, 2018, 5:10am UTC](https://discuss.elastic.co/t/install-logstash-filter-json-encode/152586/2 "2018-11-13T05:10:14Z")

</div>

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