tStatCatcher
Gathers the Job processing metadata at the Job level and at the component level and transfers the log data to the subsequent component for display or storage.
Based on the pre-defined schema, tStatCatcher gathers the Job processing metadata at the Job level and at the component level when the tStatCatcher Statistics check box is selected.
tStatCatcher Standard properties
These properties are used to configure tStatCatcher running in the Standard Job framework.
The Standard tStatCatcher component belongs to the Logs & Errors family.
The component in this framework is available in all Talend products.
Basic settings
Schema |
A schema is a row description, it defines the fields to be processed and passed on to the next component. In this particular case, the schema is read-only, as this component gathers standard log information including: |
|
Moment: Processing time and date |
|
Pid: Process ID |
|
Father_pid: Process ID of the father Job if applicable. If not applicable, Pid is duplicated. |
|
Root_pid: Process ID of the root Job if applicable. If not applicable, pid of current Job is duplicated. |
|
System_pid: Thread ID. |
|
Project: Project name, which the Job belongs to. |
|
Job: Name of the current Job |
|
Job_repository_id: ID of the Job's .item file stored in the repository. |
|
Job_version: Version of the current Job. |
|
Context: Name of the current context |
|
Origin: Name of the component if any |
|
Message_type: Begin or End. |
|
Message: Success or Failure. |
|
Duration: Time for the execution of a Job or a component with the tStatCatcher Statistics check box selected. |
Global Variables
Global Variables |
ERROR_MESSAGE: the error message generated by the component when an error occurs. This is an After variable and it returns a string. This variable functions only if the Die on error check box is cleared, if the component has this check box. A Flow variable functions during the execution of a component while an After variable functions after the execution of the component. To fill up a field or expression with a variable, press Ctrl+Space to access the variable list and choose the variable to use from it. For more information about variables, see Using contexts and variables. |
Usage
Usage rule |
This component is the start component of a secondary Job which triggers automatically at the end of the main Job. The processing time is also displayed at the end of the log. |