Use Pulsar Realtime Trigger to push events into MySQL
Stream Apache Pulsar messages straight into MySQL in real time, one row per event.
Automate JSON access log analytics and SLA error rate monitoring using DuckDB in Kestra, featuring input file ingestion and execution-terminating SLA breach gates.
Automated log monitoring workflow that queries semi-structured JSON access logs using embedded DuckDB SQL functions to calculate server error rates and enforce service-level reliability gates.
Query task utilizes DuckDB's native read_json_auto() function to inspect
the uploaded log payload, compute total request volume, calculate 5xx error counts, and
determine average response latency without external ingest engines.If conditional evaluation task tests whether the computed error rate remains
within SLA tolerances (<= 5%).Fail task,
terminating the execution to block downstream steps and alert on-call teams.service, status_code, and response_time_ms fields.Outputs tab to review calculated error percentages.read_json_auto() to stream directly from Amazon S3, Google Cloud Storage,
or MinIO buckets.Fail task
to dispatch immediate on-call pages during outages.