add collector that checks log files for a given pattern