You can use the State Tracker plugin and the compute engine for the duration of a job.
The State tracker plugin can be used to look for a particular sequence of keywords or entries in a log file. Therefore if your batch job writes out to a consistent log, and you can identify selected entries are being particular stages in the batch job then you can track progress in the batch job. On its own however this will not provide the timings for the batch job. To do this it is suggested you use some compute engine functionality to populate the time.
Some additional headlines and cells can be added to the statetracker dataview. To populate those, three rules can be used (one for each cell to track the current state and copy the time). Once the job is complete, the third rule will then compute for the duration of the start and the end time. Please refer to the code blocks below:
The following code block contains rules_jobduration.xml
The following code block contains sampler_jobduration.xml
Refer to the image below of the dataview to have a grasp of the concept: