# Logstash-filter-cipher won't install (for me) against logstash 5.0.2

**URL:** <https://discuss.elastic.co/t/logstash-filter-cipher-wont-install-for-me-against-logstash-5-0-2/68576>\
**Category:** Logstash\
**Created:** [December 9, 2016, 2:10pm UTC](https://discuss.elastic.co/t/logstash-filter-cipher-wont-install-for-me-against-logstash-5-0-2/68576 "2016-12-09T14:10:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kallax](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kallax](https://discuss.elastic.co/u/kallax)\
**Post date:** [December 9, 2016, 2:10pm UTC](https://discuss.elastic.co/t/logstash-filter-cipher-wont-install-for-me-against-logstash-5-0-2/68576/1 "2016-12-09T14:10:59Z")

</div>

apologies in advance if this is not the correct forum for this question...

i'm unable to install logstash-filter-cipher. when i try, i get the below error. i'm running centos7. any help appreciated

$ ./logstash --version  
logstash 5.0.2

$ ./logstash-plugin install logstash-filter-cipher  
Validating logstash-filter-cipher  
Installing logstash-filter-cipher  
Plugin version conflict, aborting  
ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core-plugin-api":  
In snapshot (Gemfile.lock):  
logstash-core-plugin-api (= 2.1.16)

In Gemfile:  
logstash-devutils (~\> 1.1) java depends on  
logstash-core-plugin-api (~\> 2.0) java

```
logstash-input-s3 (>= 0) java depends on
  logstash-mixin-aws (>= 0) java depends on
    logstash-core-plugin-api (<= 2.99, >= 1.60) java

logstash-input-s3 (>= 0) java depends on
  logstash-mixin-aws (>= 0) java depends on
    logstash-core-plugin-api (<= 2.99, >= 1.60) java

```

..... (repeated many times)

```
logstash-input-s3 (>= 0) java depends on
  logstash-mixin-aws (>= 0) java depends on
    logstash-core-plugin-api (<= 2.99, >= 1.60) java

logstash-filter-cipher (>= 0) java depends on
  logstash-core-plugin-api (~> 1.0) java

logstash-core-plugin-api (>= 0) java

```

Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.  
Bundler could not find compatible versions for gem "logstash-core":  
In snapshot (Gemfile.lock):  
logstash-core (= 5.0.2)

In Gemfile:  
logstash-core-plugin-api (\>= 0) java depends on  
logstash-core (= 5.0.2) java

```
logstash-filter-cipher (>= 0) java depends on
  logstash-core (< 2.0.0, >= 1.4.0) java

logstash-core (>= 0) java

```

Running `bundle update` will rebuild your snapshot from scratch, using only  
the gems in your Gemfile, which may resolve the conflict.  
Bundler could not find compatible versions for gem "logstash":  
In Gemfile:  
logstash-filter-cipher (\>= 0) java depends on  
logstash (\< 2.0.0, \>= 1.4.0) java  
Could not find gem 'logstash (\< 2.0.0, \>= 1.4.0) java', which is required by gem 'logstash-filter-cipher (\>= 0) java', in any of the sources.

---

<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 12, 2016, 6:38am UTC](https://discuss.elastic.co/t/logstash-filter-cipher-wont-install-for-me-against-logstash-5-0-2/68576/2 "2016-12-12T06:38:11Z")

</div>

The cipher filter isn't Logstash 5.0 compatible yet.

---

<div class="post-metadata">

**Author:** ![kallax](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kallax](https://discuss.elastic.co/u/kallax)\
**Post date:** [December 12, 2016, 1:45pm UTC](https://discuss.elastic.co/t/logstash-filter-cipher-wont-install-for-me-against-logstash-5-0-2/68576/3 "2016-12-12T13:45:23Z")

</div>

thanks for the response, magnus! (i now see the support matrix.)

i need to decrypt fields from my logs on-the-fly. i'm wondering if anyone knows of an alternative to using the cipher plugin? write a custom plugin?

i guess the work-around is probably to install an older version of logstash and the cipher plugin until 5.x support is ready.

---

<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 9, 2017, 1:45pm UTC](https://discuss.elastic.co/t/logstash-filter-cipher-wont-install-for-me-against-logstash-5-0-2/68576/4 "2017-01-09T13:45:28Z")

</div>

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