# Logstash - unable to install amazon\_es - NoMethodError

**URL:** <https://discuss.elastic.co/t/logstash-unable-to-install-amazon-es-nomethoderror/287224>\
**Category:** Logstash\
**Created:** [October 20, 2021, 4:23pm UTC](https://discuss.elastic.co/t/logstash-unable-to-install-amazon-es-nomethoderror/287224 "2021-10-20T16:23:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GaneshKannan](https://avatars.discourse-cdn.com/v4/letter/g/898d66/32.png) [@GaneshKannan](https://discuss.elastic.co/u/GaneshKannan)\
**Post date:** [October 20, 2021, 4:23pm UTC](https://discuss.elastic.co/t/logstash-unable-to-install-amazon-es-nomethoderror/287224/1 "2021-10-20T16:23:37Z")

</div>

I'm trying to install amazon\_es in an AWS EC2 linux instance (x64). But getting an error called

 ![1](https://us1.discourse-cdn.com/elastic/original/3X/1/7/17cc2d9a9fbaf049e241c9c99d3d998cd8c7a4ec.png)

```auto
Resolving mixin dependencies
NoMethodError: undefined method `error' for #<Gem::PlatformMismatch:0x2203fa4c>

```

And when I try to run the config file, getting the error saying the **amazon\_es** is not installed.

Can someone help here please. Thanks in advance.

---

<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:** [November 17, 2021, 4:24pm UTC](https://discuss.elastic.co/t/logstash-unable-to-install-amazon-es-nomethoderror/287224/2 "2021-11-17T16:24:21Z")

</div>

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