Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Logging processing time of a job

Hi,
I am looking at logging processing info of a job into flat files.
I used tChronometerStart/Stop to measure time taken by my job and it works perfectly fine but is it there a way I can store it in a flat file?
Thanks.
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Hi,
I am using tStatCatcher for capturing the log in a flat file.
Thanks
Anonymous
Not applicable
Author

Hi
There is a global variable ((Long)globalMap.get("tChronometerStop_1_DURATION")) available on tChronometerStop component, this variable counts the duration time between tChronometerStart and tChronometerStop. For example:
tChronometerStart
|
onsubjobok
|
a processing of a subjob
|
onsubjobok
|
tChronometerStop
|
tFixedFlowInput--main--tFileOutputDelimited
on tFixedFlowinput, define a column called duration, and set its value as :
((Long)globalMap.get("tChronometerStop_1_DURATION"))
Shong
Anonymous
Not applicable
Author

Hi Shong,
Thanks a lot!! I am able to capture processing time 0683p000009MACn.png