# Logstash Error with ES-Shield plugin

**URL:** https://discuss.elastic.co/t/logstash-error-with-es-shield-plugin/36224
**Category:** Logstash
**Created:** [December 2, 2015, 9:32pm UTC](https://discuss.elastic.co/t/logstash-error-with-es-shield-plugin/36224 "2015-12-02T21:32:36Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Kaufusihm](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Kaufusihm](https://discuss.elastic.co/u/Kaufusihm)
#### Post date: [December 2, 2015, 9:32pm UTC](https://discuss.elastic.co/t/logstash-error-with-es-shield-plugin/36224/1 "2015-12-02T21:32:36Z")

</div>

I'm trying to get logstash configured to work with Elasticsearch-shield and I am running into the following error:

After running

bin/plugin install logstash-output-elasticsearch-shield

I get this error:

ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-output-elasticsearch":  
In snapshot (Gemfile.lock):  
logstash-output-elasticsearch (= 2.1.2)

In Gemfile:  
logstash-output-elasticsearch-shield (\>= 0) java depends on  
logstash-output-elasticsearch (\<= 0.1.9) java

```
logstash-output-elasticsearch (>= 0) java

```

Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.

---

<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:20am UTC](https://discuss.elastic.co/t/logstash-error-with-es-shield-plugin/36224/2 "2017-07-06T05:20:16Z")

</div>


