Pushing logs from mysql to aws ES using logstash


(Phani Nadiminti) #1

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

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"]
region => "us-east-1"
index => "test-migrate"
document_type => "data"
flush_size => 500
}
}
~


(Phani Nadiminti) #2

Hi

I have solved the issue with below configuration

output {
elasticsearch {
hosts => ["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


(system) #3

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