Check log files for specific errors and create a report in JSON format