# Logstash won't forward to Elasticsearch via output plugin

**URL:** <https://discuss.elastic.co/t/logstash-wont-forward-to-elasticsearch-via-output-plugin/136133>\
**Category:** Logstash\
**Created:** [June 15, 2018, 7:57pm UTC](https://discuss.elastic.co/t/logstash-wont-forward-to-elasticsearch-via-output-plugin/136133 "2018-06-15T19:57:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![james\_mtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_mtl/32/32330_2.png) [@james\_mtl](https://discuss.elastic.co/u/james_mtl)\
**Post date:** [June 15, 2018, 7:57pm UTC](https://discuss.elastic.co/t/logstash-wont-forward-to-elasticsearch-via-output-plugin/136133/1 "2018-06-15T19:57:59Z")

</div>

I am trying to modify an existing ELK configuration. Logs are being sent to Logstash via syslog and then forwarded to an Elasticsearch cluster.

I am trying to switch our Elasticsearch endpoints to AWS' ES service. I have modified the existing logstash.conf. AWS is not seeing new data being sent. When I revert the previous configuration the old Elasticsearch servers are not receiving data any more either and nothing is being written to the log file. I am not able to find anything useful here.

I installed logstash-output-amazon\_es output plugin. I used sudo to install the plugin.. My best guess is that it screwed up permissions. Honestly I'm really stuck troubleshooting this problem as I have no logs to look at. What is going on here?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 15, 2018, 8:34pm UTC](https://discuss.elastic.co/t/logstash-wont-forward-to-elasticsearch-via-output-plugin/136133/2 "2018-06-15T20:34:12Z")

</div>

Sounds like something with the AWS specific output plugin.

But I don't think anyone here has knowledge on that one sorry, you may need to try the AWS forums.

---

<div class="post-metadata">

**Author:** ![james\_mtl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/james_mtl/32/32330_2.png) [@james\_mtl](https://discuss.elastic.co/u/james_mtl)\
**Post date:** [June 18, 2018, 3:52pm UTC](https://discuss.elastic.co/t/logstash-wont-forward-to-elasticsearch-via-output-plugin/136133/3 "2018-06-18T15:52:33Z")

</div>

The issue was related to the permissions.

Additionally, I needed to create an IAM Role and EC2 Instance Profile.

---

<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 16, 2018, 3:52pm UTC](https://discuss.elastic.co/t/logstash-wont-forward-to-elasticsearch-via-output-plugin/136133/4 "2018-07-16T15:52:36Z")

</div>

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