Trigger logstash JDBC input plugin

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?

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

1 Like