Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi everyone,
I want to retrieve some of the logs from my job but I don't know.
Today I set: tStatCatcher -> tMap -> tLogRow
When I run my job, here are the logs:
Starting the TEST job at 17:09 19/07/2017.
[Statistics] connecting to socket on port 3487
[Statistics] connected
2017-07-19 17: 09: 23 | 2017-07-19 17: 09: 23 | TEST | FLUX | 0 | KO |
2017-07-19 17: 09: 25 | 2017-07-19 17: 09: 27 | TEST | FLUX | 2 | OK |
[Statistics] disconnected
Job TEST finished at 17:09 19/07/2017. [Output code = 0]
I only want the statistics before the end of the job (in bold) and not the start.
Do you have an idea to do this simply?
Thank's !
Hi,
In your log, I do not see the message_type. In mine, I can see message_type:
Normally, in your tMap, you will just filter on message_type.equals("end")
Hi,
In your log, I do not see the message_type. In mine, I can see message_type:
Normally, in your tMap, you will just filter on message_type.equals("end")
As @iburtally said, you need to look for the message_type. You will also have to keep in mind that you do not get the start and end on the same record. You will see two records. These can be joined using the PID record. I have put together a brief piece on the AMC here: https://www.rilhia.com/tutorials/talend-activity-monitoring-console-amc
Perfect !
Thank you for your help !