How to identify logstash pipeline status as complete?

I have below 2 queries

  1. Is there a specific key in logstash API response which can identify that a pipeline (incremental) completed successfully? I checked this where the Pipeline stats give an event response ...in, filtered, out... but did not find anything which can clearly say that a pipeline completed successfully.

  2. In logstash logs for a particular run I get below result, what does (seconds) denote here?

[2018-07-14T01:00:05,117][INFO ][logstash.inputs.jdbc ] (4.753178s) SELECT a.*,....
[2018-07-14T02:00:45,221][INFO ][logstash.inputs.jdbc ] (42.543719s) SELECT pkey_ AS job_id,.....

Logstash doesn't have a concept of "done" or "complete".

@magnusbaeck Thankyou for your reply, also what does the seconds denote after package information in logs? I see on schedule the executed query does not appear immediately, but takes time and differs on every schedule.

Thankyou for your reply, also what does the seconds denote after package information in logs?

Unless it's the query execution time I don't know.

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