# Pushing logs from mysql to aws ES using logstash

**URL:** <https://discuss.elastic.co/t/pushing-logs-from-mysql-to-aws-es-using-logstash/113753>\
**Category:** Logstash\
**Created:** [January 2, 2018, 10:33am UTC](https://discuss.elastic.co/t/pushing-logs-from-mysql-to-aws-es-using-logstash/113753 "2018-01-02T10:33:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)\
**Post date:** [January 2, 2018, 10:33am UTC](https://discuss.elastic.co/t/pushing-logs-from-mysql-to-aws-es-using-logstash/113753/1 "2018-01-02T10:33:57Z")

</div>

Hi ,

I am using logstash 5.6.3 and trying to push mysql table data to aws ES service(which is open to My Server . I have followed the following plugin to integrate AWS ES service

> **[awslabs/logstash-output-amazon\_es](https://github.com/awslabs/logstash-output-amazon_es)**
>
> logstash-output-amazon\_es - Logstash output plugin to sign and export logstash events to Amazon Elasticsearch Service

But this is not working out i am getting timeout error while sending records to aws ES

configuration file:

output {  
amazon\_es {  
hosts =\> ["[s-XXXXXXXXXXX.es.amazonaws.com](http://s-XXXXXXXXXXX.es.amazonaws.com)"]  
region =\> "us-east-1"  
index =\> "test-migrate"  
document\_type =\> "data"  
flush\_size =\> 500  
}  
}  
~

---

<div class="post-metadata">

**Author:** ![Phani\_Nadiminti](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/phani_nadiminti/32/45381_2.png) [@Phani\_Nadiminti](https://discuss.elastic.co/u/Phani_Nadiminti)\
**Post date:** [January 2, 2018, 12:44pm UTC](https://discuss.elastic.co/t/pushing-logs-from-mysql-to-aws-es-using-logstash/113753/2 "2018-01-02T12:44:36Z")

</div>

Hi

I have solved the issue with below configuration

output {  
elasticsearch {  
hosts =\> ["[test-xxxxxxxxxxxx-xxxx-1.es.amazonaws.com:443](http://test-xxxxxxxxxxxx-xxxx-1.es.amazonaws.com:443)"]  
ssl =\> true  
index =\> "phani-test-1"  
document\_type =\> "phaniv1"  
}  
}

i have added SSL port 443 with normal elasticsearch plugin it got worked

---

<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 30, 2018, 12:44pm UTC](https://discuss.elastic.co/t/pushing-logs-from-mysql-to-aws-es-using-logstash/113753/3 "2018-01-30T12:44:45Z")

</div>

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