# Trigger logstash JDBC input plugin

**URL:** <https://discuss.elastic.co/t/trigger-logstash-jdbc-input-plugin/54278>\
**Category:** Logstash\
**Created:** [June 29, 2016, 12:37pm UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-input-plugin/54278 "2016-06-29T12:37:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lnx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lnx/32/48753_2.png) [@lnx](https://discuss.elastic.co/u/lnx)\
**Post date:** [June 29, 2016, 12:37pm UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-input-plugin/54278/1 "2016-06-29T12:37:06Z")

</div>

If I have logstash running with a JDBC input plugin in the configuration, is it possible to send a call to logstash to run that input plugin again?

i.e. I have a database which is periodically updated by scripts, I want to trigger a logstash run as soon as the database update is complete. Does an API call exist?

---

<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:** [June 29, 2016, 12:54pm UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-input-plugin/54278/2 "2016-06-29T12:54:23Z")

</div>

No, there's no such API but you could fire up Logstash and it'll shut down once all news rows have been processed.

---

<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:** [July 6, 2017, 4:50am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-input-plugin/54278/3 "2017-07-06T04:50:25Z")

</div>


