# Trigger Logstash JDBC Plugin

**URL:** <https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913>\
**Category:** Logstash\
**Created:** [December 15, 2017, 7:10am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913 "2017-12-15T07:10:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahul\_Hameed\_B](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Sahul\_Hameed\_B](https://discuss.elastic.co/u/Sahul_Hameed_B)\
**Post date:** [December 15, 2017, 7:10am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913/1 "2017-12-15T07:10:25Z")

</div>

Once the new record is updated or insterted, i need to call this command

logstash -f JDBCConnector.conf --debug again. Other than schedule command.

is it possible to do that??

---

<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:** [December 15, 2017, 7:31am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913/2 "2017-12-15T07:31:09Z")

</div>

That's not a Logstash question but a question for your database. Does it support triggers and what kind of operations can you do in a trigger?

What's the problem with the jdbc input's schedule option?

---

<div class="post-metadata">

**Author:** ![Sahul\_Hameed\_B](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Sahul\_Hameed\_B](https://discuss.elastic.co/u/Sahul_Hameed_B)\
**Post date:** [December 15, 2017, 7:35am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913/3 "2017-12-15T07:35:35Z")

</div>

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.

---

<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:** [December 15, 2017, 8:13am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913/4 "2017-12-15T08:13:15Z")

</div>

> is it possible to send a call to logstash to run that input plugin again?

No.

---

<div class="post-metadata">

**Author:** ![Sahul\_Hameed\_B](https://avatars.discourse-cdn.com/v4/letter/s/dfb087/32.png) [@Sahul\_Hameed\_B](https://discuss.elastic.co/u/Sahul_Hameed_B)\
**Post date:** [December 15, 2017, 9:23am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913/5 "2017-12-15T09:23:09Z")

</div>

Thanks

Then.. in this link [Trigger logstash JDBC input plugin](https://discuss.elastic.co/t/trigger-logstash-jdbc-input-plugin/54278)

you told that you could fire up logstash..

how could fire up logstash??

---

<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:** [December 15, 2017, 10:28am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913/6 "2017-12-15T10:28:27Z")

</div>

As I said: That's not a Logstash question but a question for your database. Does it support triggers and what kind of operations can you do in a trigger?

---

<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:** [January 12, 2018, 10:28am UTC](https://discuss.elastic.co/t/trigger-logstash-jdbc-plugin/111913/7 "2018-01-12T10:28:36Z")

</div>

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