# How to run jdbc mysql importer in logstash everytime

**URL:** <https://discuss.elastic.co/t/how-to-run-jdbc-mysql-importer-in-logstash-everytime/92425>\
**Category:** Logstash\
**Created:** [July 10, 2017, 8:16am UTC](https://discuss.elastic.co/t/how-to-run-jdbc-mysql-importer-in-logstash-everytime/92425 "2017-07-10T08:16:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aditya](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@aditya](https://discuss.elastic.co/u/aditya)\
**Post date:** [July 10, 2017, 8:16am UTC](https://discuss.elastic.co/t/how-to-run-jdbc-mysql-importer-in-logstash-everytime/92425/1 "2017-07-10T08:16:22Z")

</div>

How to run jdbc mysql importer in logstash whenever any transaction happen in mysql?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 12, 2017, 12:24pm UTC](https://discuss.elastic.co/t/how-to-run-jdbc-mysql-importer-in-logstash-everytime/92425/2 "2017-07-12T12:24:02Z")

</div>

There's nothing built-in for this. Scheduling the jdbc input for execution every minute isn't often enough?

---

<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:** [August 9, 2017, 12:24pm UTC](https://discuss.elastic.co/t/how-to-run-jdbc-mysql-importer-in-logstash-everytime/92425/3 "2017-08-09T12:24:05Z")

</div>

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