Hello there,
How can I transfer data from Elasticsearch to MySQL?
Best regards.
Hello there,
How can I transfer data from Elasticsearch to MySQL?
Best regards.
Nothing OOTB I think.
You need to use the Scroll API to get all documents, then send the JSON to MySQL if you just want to store JSON there.
Or extract from the Json all the values to fill your sql model.
Is there a way to do that? @dadoonet
I agree with David that there most likely isn't anything available out of the box. I would recommend creating a script/application using one of the language clients.
Thank you for your response.
Sample would such projects help?
You can look at using something like this if you need to do some replication: http://debezium.io/docs/connectors/mysql/
What is this?
Kibana could it be a solution for this? @dadoonet @Christian_Dahlqvist
No. I think you will need to develop a script that uses scan/scroll to retrieve the data and then transform it into the correct structure before writing it to your database.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.