# Log4j2 input

**URL:** <https://discuss.elastic.co/t/log4j2-input/61187>\
**Category:** Logstash\
**Created:** [September 21, 2016, 10:51pm UTC](https://discuss.elastic.co/t/log4j2-input/61187 "2016-09-21T22:51:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbecker](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sbecker](https://discuss.elastic.co/u/sbecker)\
**Post date:** [September 21, 2016, 10:51pm UTC](https://discuss.elastic.co/t/log4j2-input/61187/1 "2016-09-21T22:51:13Z")

</div>

I'm trying to get log4j2 logging enabled in logstash. I upgraded to logstash-all-plugins-2.4.0-1.noarch. The logstash plugins github page ([https://github.com/logstash-plugins?utf8=✓&query=log4](https://github.com/logstash-plugins?utf8=%E2%9C%93&query=log4)) shows logstash-input-log4j2. When I run a configtest: Couldn't find any input plugin named 'log4j2'. I tried '/opt/logstash/bin/logstash-plugin install logstash-input-log4j2' but get a lot of errors: ERROR: Installation Aborted, message: Bundler could not find compatible versions for gem "logstash-core".

Any help is appreciated.

---

<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:37am UTC](https://discuss.elastic.co/t/log4j2-input/61187/2 "2017-07-06T04:37:30Z")

</div>


