# Convert my sql to elasticsearch without logstash

**URL:** https://discuss.elastic.co/t/convert-my-sql-to-elasticsearch-without-logstash/289291
**Category:** Logstash
**Created:** [November 16, 2021, 9:55am UTC](https://discuss.elastic.co/t/convert-my-sql-to-elasticsearch-without-logstash/289291 "2021-11-16T09:55:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Rizky\_Hudha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rizky_hudha/32/87736_2.png) [@Rizky\_Hudha](https://discuss.elastic.co/u/Rizky_Hudha)
#### Post date: [November 16, 2021, 9:55am UTC](https://discuss.elastic.co/t/convert-my-sql-to-elasticsearch-without-logstash/289291/1 "2021-11-16T09:55:47Z")

</div>

is there a way other than using logstash to convert mysql to Elasticsearch. I just got a new task, to create a generic processor to convert mysql to Elasticsearch

---

<div class="post-metadata">

### Author: ![Alex\_Marquardt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_marquardt/32/42925_2.png) [@Alex\_Marquardt](https://discuss.elastic.co/u/Alex_Marquardt)
#### Post date: [November 16, 2021, 7:45pm UTC](https://discuss.elastic.co/t/convert-my-sql-to-elasticsearch-without-logstash/289291/2 "2021-11-16T19:45:03Z")

</div>

> [@Rizky\_Hudha](#):
>
> is there a way other than using logstash to convert mysql to Elasticsearch. I just got a new task, to create a generic processor to convert mysql to Elasticsearch

You may find this blog helpful if you are using Logstash: [How to keep Elasticsearch synced with a RDBMS using Logstash and JDBC | Elastic Blog](https://www.elastic.co/blog/how-to-keep-elasticsearch-synchronized-with-a-relational-database-using-logstash)

Alternatively, you could write custom code to read from the database and write into Elasticsearch.

---

<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: [December 14, 2021, 7:45pm UTC](https://discuss.elastic.co/t/convert-my-sql-to-elasticsearch-without-logstash/289291/3 "2021-12-14T19:45:31Z")

</div>

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