Ingestion health
A quiet dashboard can be broken
Ingestion moves records from producer to collector, parser and storage. A healthy dashboard requires evidence that expected sources arrive and parse correctly. Zero detections could mean no matching behavior or a broken data path. Monitor source freshness, counts, parsing failures and queue delay.
Separate input and output contracts
At input check format, required fields, types and source identity. Quarantine malformed or unsupported records with a reason; do not silently coerce invalid timestamps. At output validate the normalized schema independently and ensure forbidden keys did not survive. This lesson parser accepts only trusted, small classroom XML fixtures, not arbitrary external XML; production needs safe parsing and resource limits.
Duplicates and gaps
Retries may deliver the same event twice. Use an identity such as (source, stream, record_id), assuming the source contract guarantees uniqueness in that scope; handle record-number resets using a generation identifier in real deployments. A repeated key with different content is a conflict, not a harmless duplicate. Preserve raw provenance and track duplicates separately from malformed rows.
Worked health check
Suppose the fixture expects application, network, endpoint and DNS records. Only the first three arrive; DNS is missing, not necessarily compromised. If two application rows share one key and identical normalized fields, retain one for analysis and count one duplicate. For the toy policy, delay over 120 seconds is late; exactly 120 is not. Escalate a source outage with owner and last observed time rather than infer an incident.
Practice and pitfalls
Run the fixture checks. Reconcile received = accepted unique + duplicate + conflicting + rejected. Compare expected sources to accepted sources; an invalid record is not proof of usable coverage. Report gaps, late and negative delays separately, assign an owner and request a harmless periodic test event to verify recovery. Never hide failed ingestion to improve a dashboard metric.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Ingestion health — knowledge check
Apply telemetry mapping, integrity and ingestion principles to fictional scenarios.
What can zero alerts mean?
What is a same-key different-content record?
Which check validates normalized records?
In the toy policy, is 120 seconds late?
If expected DNS data is missing, what is the best next step?