--- patterns: num: regex: '[0-9]+' streams: tailDown: cmd: [ "sh", "-c", "sleep 2; echo found 1; echo found 2; sleep 1; echo found 1; sleep 2" ] filters: findIP: regex: - '^found $' retry: 2 retry-period: 1m actions: damn: cmd: [ "echo", "" ] undamn: cmd: [ "echo", "undamn", "" ] after: 1m onexit: true