Logstash Aggregation and IF/Else

I have SOP named GIS which have 3 jobs and getting 3 events

{"jobName":"BIS43683","JobStatus":"COMPLETE","@timestamp":"2020-02-08T23:00:47.958Z","JobSystemStatus":"COMPLETE"}
{"jobName":"BIS43595","JobStatus":"COMPLETE","@timestamp":"2020-02-08T23:00:47.958Z","JobSystemStatus":"COMPLETE"}
{"jobName":"TBS20065","JobStatus":"COMPLETE","@timestamp":"2020-02-08T23:00:47.958Z","JobSystemStatus":"COMPLETE"}

I'm looking for output which can compare if all the status are complete then send complete otherwise incomplete

I need Output as follows
"SOP":"GIS", "Status":"Complete", @timestamp

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