I’d start by verifying that the stats.collect events are actually recorded in the Apache access log and these are rotated to /opt/kaltura/web/logs.
Then I’d run each DWH job individually and check the logs under /opt/kaltura/dwh/logs.
Sometimes these logs are misleading because the erroneous lines are not always prefixed with
“ERROR”, especially when exceptions occur. This code does not do exception handling well so you must inspect these minutely.