# Error installing logstash plugin

**URL:** https://discuss.elastic.co/t/error-installing-logstash-plugin/112265
**Category:** Logstash
**Created:** [December 18, 2017, 3:32pm UTC](https://discuss.elastic.co/t/error-installing-logstash-plugin/112265 "2017-12-18T15:32:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![diegopereiraeng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diegopereiraeng/32/25752_2.png) [@diegopereiraeng](https://discuss.elastic.co/u/diegopereiraeng)
#### Post date: [December 18, 2017, 3:32pm UTC](https://discuss.elastic.co/t/error-installing-logstash-plugin/112265/1 "2017-12-18T15:32:50Z")

</div>

Hi,

I have installed logstash 5.5.1 using .tar.

The problem is only installing plug-ins.

I'm geting this error:

/logstash-5.5.1\> ./bin/logstash-plugin install file:///tmp/tcp-plugin.zip  
Installing file: /tmp/tcp-plugin.zip  
ERROR: An error occured when installing the: file:///tmp/tcp-plugin.zip, to have more information about the error add a DEBUG=1 before running the command., message: Could not find gem 'logstash-core (\>= 0) java' in source at ./logstash-core.  
Source does not contain any versions of 'logstash-core (\>= 0) java'

I have tried a lot of steps, but didn't find anything that worked.

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [December 18, 2017, 4:09pm UTC](https://discuss.elastic.co/t/error-installing-logstash-plugin/112265/2 "2017-12-18T16:09:22Z")

</div>

Where does tcp-plugin.zip come from?

---

<div class="post-metadata">

### Author: ![diegopereiraeng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/diegopereiraeng/32/25752_2.png) [@diegopereiraeng](https://discuss.elastic.co/u/diegopereiraeng)
#### Post date: [December 18, 2017, 7:54pm UTC](https://discuss.elastic.co/t/error-installing-logstash-plugin/112265/3 "2017-12-18T19:54:02Z")

</div>

From bin/logstash-plugin prepare-offline-pack logstash-input-tcp

I have tried using other plug-ins as jdbc and snmptrap

---

<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: [January 15, 2018, 7:54pm UTC](https://discuss.elastic.co/t/error-installing-logstash-plugin/112265/4 "2018-01-15T19:54:07Z")

</div>

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