# Cannot install custom plugin on logstash stable (2.3.2) because logstash-filter-example depends on logstash-core-plugin-api, "~\> 2.0"

**URL:** <https://discuss.elastic.co/t/cannot-install-custom-plugin-on-logstash-stable-2-3-2-because-logstash-filter-example-depends-on-logstash-core-plugin-api-2-0/53804>\
**Category:** Logstash\
**Created:** [June 23, 2016, 4:20pm UTC](https://discuss.elastic.co/t/cannot-install-custom-plugin-on-logstash-stable-2-3-2-because-logstash-filter-example-depends-on-logstash-core-plugin-api-2-0/53804 "2016-06-23T16:20:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![patc](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patc/32/10511_2.png) [@patc](https://discuss.elastic.co/u/patc)\
**Post date:** [June 23, 2016, 4:20pm UTC](https://discuss.elastic.co/t/cannot-install-custom-plugin-on-logstash-stable-2-3-2-because-logstash-filter-example-depends-on-logstash-core-plugin-api-2-0/53804/1 "2016-06-23T16:20:14Z")

</div>

I just finished writing a logstash-filter plugin with the most recent logstash-filter-example from github. When I went to install the plugin on logstash 2.3.2, I was unable to complete the installation because logstash 2.3.2 uses logstash-core-plugin-api 1.10.0 while the logstash-filter-example depends on logstash-core-plugin-api, "~\> 2.0" (which I believe is only compatible with logstash 5.0.0-alpha3).

This seems like a version mismatch bug as the [logstash 2.3 docs](https://www.elastic.co/guide/en/logstash/current/_how_to_write_a_logstash_filter_plugin.html) point to the master branch of [https://github.com/logstash-plugins/logstash-filter-example.git](https://github.com/logstash-plugins/logstash-filter-example.git).

---

<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, 4:50am UTC](https://discuss.elastic.co/t/cannot-install-custom-plugin-on-logstash-stable-2-3-2-because-logstash-filter-example-depends-on-logstash-core-plugin-api-2-0/53804/2 "2017-07-06T04:50:56Z")

</div>


