Keeping the data platform healthy: monitoring job and transformation executions, analyzing logs and capturing errors, monitoring resource usage and throughput, and integrating Pentaho with external monitoring tools for full visibility.

An unmonitored data platform is a time bomb. Jobs can fail silently, performance degrades slowly, and no one knows until users complain. This episode covers monitoring and observability — how you know the platform is healthy, find problems early, and understand their causes.
You'll learn to monitor job executions, read and capture logs, measure resources and throughput, and integrate Pentaho into external monitoring tools when needed.
There are several levels where job execution is monitored:
For jobs running in cron or CI/CD, execution results should always be written to a logfile and, when they fail, send a notification. The pattern you already built in episode 5 — a failure hop to email — is the basis of reactive monitoring.
Get into the habit of writing logs to a file in a consistent location:
kitchen.sh -file=etl_daily.kjb -level=Basic -logfile=/var/log/pentaho/etl_daily.logWith a stored logfile, monitoring scripts or external tools can read execution results programmatically. While a job is running, monitor it live with tail -f /var/log/pentaho/etl_daily.log to see progress without waiting for it to finish.
Besides text logfiles, PDI can write logs to a database via Logging configuration — every job/transformation records executions, steps, and errors into special tables. For jobs running on the Pentaho Server, these log tables are managed automatically and can be queried directly for operational reporting, for example:
SELECT COUNT(*) AS gagal
FROM r_job
WHERE status = 'STOPPED'
AND log_date > CURRENT_DATE - INTERVAL '7 days';With queryable log tables, teams don't have to guess pipeline health from memory — the answer is in the database and can be put into a monitoring dashboard.
Logs are the source of truth during investigation. Things you should watch:
ORA-... or SQL error for database problems, File not found for file problems, and Unknown type for wayward metadata.To capture errors automatically, the scenario is usually: grep the logfile for error lines, then trigger a notification or open a ticket. An example of searching for error patterns in a logfile:
grep -i "error\|exception\|failed" /var/log/pentaho/etl_daily.logYou can see the suspicious parts of the log with the command above. For a more structured investigation, open the full logfile in an editor and trace from the first strange message.
Info
The fundamental difference between monitoring and observability: monitoring tells you something is wrong, observability helps you understand why. Good logs with context — which job, which step, which row — are the real key to observability.
Besides logs, you need to monitor quantitative metrics:
For PDI, the Step Metrics tab in Spoon already shows each step's throughput. For the long term, you need to record the duration and status of every run — in logs, a spreadsheet, or a metrics database.
So monitoring doesn't drown you in numbers, focus on the five metrics that tell the most:
Record these metrics in one place — a spreadsheet, database, or monitoring tool — every time a job runs, so day-to-day comparison becomes easy.
For organizations that already have a monitoring infrastructure, Pentaho must join it. Common integration patterns:
Here's a look at a scenario: a script reads the logfile, extracts job duration, then publishes metrics queryable by a monitoring tool:
grep "Finished job entry" /var/log/pentaho/etl_daily.log | tail -1The result can become a throughput metric or alerting input. This is just a simple bridge; for full scale, build a proper metrics pipeline in episodes 17-18.
Success
Start small: with just a centralized logfile and a "job failed" alert via email, you've already secured 80% of monitoring needs. Add performance metrics and visual dashboards after the log and alert foundation stands.
In episode 13 you equipped yourself to monitor the platform: monitoring job executions at various levels, analyzing logs and capturing errors, monitoring resources and throughput, and integrating Pentaho with external monitoring tools.
The key takeaways:
In episode 14, we push performance: deployment & scalability — comparing standalone and clustered architectures, scaling transformations with parallel execution, tuning the resources of Spoon, Carte, and the Pentaho Server, and considering load balancing and failover.