Resolving eventhouse and eventstream errors

By Hatnest · Reviewed by Saurav Raj Joshi · Updated Nov 30, 2026

Streaming problems are hard to see because nothing "fails" in the usual sense: events stop arriving, arrive late, or are dropped on the way in. The two places where streaming data can go wrong are the eventstream that moves it and the eventhouse (KQL database) that stores it. Each has its own signals.

Eventstream: what to look at

An eventstream has two monitoring views, shown in the lower pane of the editor when you select a node on the canvas.

Data insights shows metrics per node. For the stream itself these are incoming and outgoing messages and bytes. For sources and destinations such as Event Hubs, IoT Hub, lakehouse, eventhouse (when events are processed before ingestion), derived streams and Activator, you also get:

  • Input events, output events and byte volumes: is data flowing?
  • Backlogged input events: the engine cannot keep up if this keeps rising.
  • Runtime errors: the total of processing errors.
  • Deserialization errors: input events the engine could not parse, usually a format mismatch such as JSON arriving where Avro is expected.
  • Data conversion errors: output events that do not fit the target schema, for example a string where a number is expected.
  • Watermark delay: how far processing lags behind the clock, in seconds.

Runtime logs list detailed engine messages at three severities: information, warning and error. You can filter by keyword, severity or type.

For history and cross-item queries, turn on workspace monitoring (preview). Four tables describe eventstreams. EventStreamNodeStatus tells you whether each node is running, paused or failed, EventStreamMetrics and EventStreamErrorMetrics give per-minute data flow and error counts, and EventStreamDiagnosticLogs carries descriptive messages with error codes and whether the error is fatal. The diagnostic table can throttle or combine repeated events, so its row count is not an error count.

Typical eventstream problems

  • Nothing arrives. Check the source node status and credentials, then incoming messages.
  • Events arrive but nothing lands. Look at the destination node: backlog, conversion errors, and whether the destination schema matches the data.
  • Deserialization errors. The declared input data format does not match the real payload. Fix the format setting or the producer.
  • Rising watermark delay and backlog. Processing cannot keep up with the volume.

Eventhouse: ingestion failures

Data enters a KQL table by queued ingestion, streaming ingestion, an eventstream, or an update policy that fills a second table from the first. When something fails, ask two questions: was the failure permanent or transient, and at which stage did it happen?

Where the failures are recorded

The command below lists recent ingestion failures from the database. The records are kept for 14 days. Important columns are the failure kind (Permanent or Transient), the error code, the details, the source path, and whether the failure came from an update policy.

.show ingestion failures
| where FailedOn > ago(1d)
| project FailedOn, Table, FailureKind, ErrorCode, Details

Workspace monitoring gives a longer-lived equivalent: the EventhouseIngestionResultsLogs table records successes and failures of queued ingestions, with status, error details, a flag for update-policy failures and a failure status that tells you whether retries were exhausted. Use it to chart failures per table or to drive an alert.

The failure kind guides the fix:

  • Permanent failures will not succeed on retry. Examples: a malformed CSV, a mapping that names a column that does not exist, or a blob that you are not authorized to read. Fix the data, the mapping or the permissions, then ingest again.
  • Transient failures are retried automatically. If they keep failing, they become "retry attempts exceeded".

Update policies

An update policy runs a query on new data in a source table and writes the result to a target table. If the policy query fails, for example because the source schema changed:

  • With the default, non-transactional policy, the data is ingested into the source table, the ingestion counts as a success, and the target table silently misses the rows.
  • With a transactional policy, nothing is ingested into either table and the ingestion fails visibly.

For production flows where the target must not lose data, set the policy to transactional. When you find gaps in a target table, check ingestion failures with the update-policy flag set.

Other eventhouse causes

  • Mapping problems. The ingestion mapping must match the incoming format and the table columns.
  • Capacity throttling. Workspace monitoring also has logs for capacity throttling.

A routine

  1. Confirm the source is sending: eventstream incoming messages.
  2. Check each node for errors and backlog.
  3. Check the eventhouse for ingestion failures and their kind.
  4. Fix at the source, the mapping or the schema, then re-ingest what failed.

For the exam

  • Eventstream: Data insights for metrics, Runtime logs for messages, workspace monitoring tables for history.
  • Deserialization errors mean the input format is wrong; data conversion errors mean the output schema is wrong.
  • .show ingestion failures keeps 14 days and tells you Permanent or Transient.
  • A non-transactional update policy can lose target rows without failing the ingestion; set it transactional to prevent that.
  • Rising backlog and watermark delay mean the processing cannot keep up.

Sources