Export data from AWS ElasticSearch to AWS RDS instance using Logstash

0

We have Amazon ElasticSearch Cluster of version 7.10.0. We would like to export some data from ElasticSearch to RDS Table. We are already using Logstash to import some data into ElasticSearch. There is amazon_es plugin which can only be used as output plugin in logstash pipeline but for export, we are not able to find anything.

In our use case, there is some summarize data in Amazon ElasticSearch which we want to insert into RDS table. Let us know how can we do it?

demandé il y a 2 ans639 vues
1 réponse
0

Hi there, currently logstash and AWS DMS only supports ES as the destination but not source. One closest option to achieve your use case is to use AWS Lambda to read data from Elasticsearch (1) and then insert data to Amazon RDS(2)

(1) https://blogs.tensult.com/2020/01/01/aws-lambda-to-perform-various-tasks-in-elasticsearch/

(2) https://docs.aws.amazon.com/lambda/latest/dg/services-rds-tutorial.html

AWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions