Elastic search jdbc output plugin

We load data to elastic through logstash by using jdbc driver input plugin. Similarly when we delta load the index after any update or new insert i want to update my jdbc drive check point table after logstash event success/ failure so during next schedule my failed records can be processed along with new upsert. Is there any output login from elastic to write to jdbc drive or any way to run a shell script.