We are using logstash 6.0 and in log it shows scheduled pipeline running, but how do I know if current run - input - filter - output has completed? Does following input JDBC INFO message with timespent is conclusion for the completion? Can this is be done using pipeline monitoring API? Like how many iterations, how much time spent etc per execution?
[2018-05-25T15:03:01,472][INFO ][logstash.pipeline ] Starting pipeline {:pipeline_id=>"org_migration", "pipeline.workers"=>3, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>375, :thread=>"#<Thread:0x3d3567ad@D:/logstash-6.0.0/logstash-core/lib/logstash/pipeline.rb:290 run>"}
[2018-05-25T15:03:01,641][INFO ][logstash.pipeline ] Pipeline started {"pipeline.id"=>"org_migration"}
[2018-05-25T15:03:01,657][INFO ][logstash.agent ] Pipelines running {:count=>1, :pipelines=>["org_migration"]}
[2018-05-25T15:05:05,604][INFO ][logstash.inputs.jdbc ] (0.454000s) select f1, f2 from tab
[2018-05-25T15:10:03,254][INFO ][logstash.inputs.jdbc ] (0.232000s) select f1, f2 from tab
[2018-05-25T15:15:02,778][INFO ][logstash.inputs.jdbc ] (0.232000s) select f1, f2 from tab