# Compile logstash-output-elasticsearch

**URL:** <https://discuss.elastic.co/t/compile-logstash-output-elasticsearch/23815>\
**Category:** Logstash\
**Created:** [June 17, 2015, 8:37am UTC](https://discuss.elastic.co/t/compile-logstash-output-elasticsearch/23815 "2015-06-17T08:37:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marczis](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@marczis](https://discuss.elastic.co/u/marczis)\
**Post date:** [June 17, 2015, 8:37am UTC](https://discuss.elastic.co/t/compile-logstash-output-elasticsearch/23815/1 "2015-06-17T08:37:49Z")

</div>

Hello everyone !  
First of all thanks a lot for your great products !  
I have an add-on idea for logstash-output-elasticsearch plugin, but I don't manage to compile / install the plugin... I really read the instructions but, now I'm stuck. Any help would be nice 😄  
So what I have:  
logstash 1.5.1

I tried to install the output plugin from: origin/bump\_version branch, as only this one was okay with the dependencies. I'm not sure if this is the right branch. If I use the master, than 1.5.1 is not recent enough (elasticsearch is older than master expects... as far as I understand ruby & gems).

So with this branch + version I manage to install the plugin like this:

```
bin/plugin install /root/logstash-output-elasticsearch-0.1.6.gem 
Validating /root/logstash-output-elasticsearch-0.1.6.gem
Installing logstash-output-elasticsearch

jar dependencies found on non-java platform gem - do not install jars

Installation successful

```

So looks okay, expect that jars are not installed... well they should be there as I had the given plugin installed by default. Or not ?  
And so when I startup the logstash I get:

```
/opt/logstash/bin/logstash -f /etc/logstash/conf.d -l /mnt/log/logstash/logstash.log
Sending logstash logs to /mnt/log/logstash/logstash.log.
The error reported is: 
  Couldn't find any output plugin named 'elasticsearch'. Are you sure this is correct? Trying to load the elasticsearch output plugin resulted in this error: no such file to load -- logstash-output-elasticsearch_jars

```

And that's right I don't have any plugin called logstash-output-elasticsearch\_jars, but of course I can't just install this....

Thanks a lot in advance !  
Br,  
Peter.

---

<div class="post-metadata">

**Author:** ![mertnuhoglu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mertnuhoglu/32/5415_2.png) [@mertnuhoglu](https://discuss.elastic.co/u/mertnuhoglu)\
**Post date:** [October 22, 2015, 12:46pm UTC](https://discuss.elastic.co/t/compile-logstash-output-elasticsearch/23815/2 "2015-10-22T12:46:06Z")

</div>

Did you find the solution to this problem?

---

<div class="post-metadata">

**Author:** ![marczis](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@marczis](https://discuss.elastic.co/u/marczis)\
**Post date:** [October 22, 2015, 3:52pm UTC](https://discuss.elastic.co/t/compile-logstash-output-elasticsearch/23815/3 "2015-10-22T15:52:49Z")

</div>

> [@marczis](#):
>
> d to install the output plugin from: origin/bump\_version branch, as only this one was okay with the dependencies. I'm not sure if this is the right branch. If I use the master, than 1.5.1 is not recent enough (elasticsearch is older than master expects... as far as I understand ruby & gems).
> 
> So with this branch + version I manage to install the plugin like this:

To be honest, I don't remember what was the outcome... but I definitely solved the whole thing, as the system is up and running 🙂

---

<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:** [July 6, 2017, 5:25am UTC](https://discuss.elastic.co/t/compile-logstash-output-elasticsearch/23815/4 "2017-07-06T05:25:45Z")

</div>


