I am running around 25 workflows at a go. I need to read log files and check which workflows failed and write the errors in the database. Can someone please help and if possible provide a sample workflow to read the knime .log file and parse the errors.
I have asked my team to see if we have a sample workflow with the knime.logs; meanwhile, you can use this example as a basis to create your workflow. https://hub.knime.com/knime/spaces/Examples/latest/09_Enterprise/01_Server/03_Using_KNIMEServer_REST_API/07_Log_Parser_and_Usage_Reporting_on_KNIME_Server
The workflow shows how parse KNIME Server logs and create reports in the WebPortal. Take a look at the “Filter relevant events” component to setup your rules. The Table creator is used as a dictionary table to filter events. In your case you can change the rule to something like: $Col0$ LIKE “: ERROR :” To only filter errors and not warnings or info messages.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.