Pcornel
Security · SIEM

Parsing

Cheat sheet · https://pcornel.dk/topic.php?topic=4869

Back to the Topic

Answer

Parsing transforms raw telemetry into structured fields using source-specific grammars, decoders or extraction rules; reliable SIEM use requires parser versioning, failure visibility and comparison against raw events.

Remember

  • Parsing success ≠ parsed fields are semantically correct.
  • No parser error ≠ every event variant matched the intended grammar.
  • Data in SIEM ≠ correctly parsed, normalized, enriched or available to the detection that matters.
  • Analytic result ≠ confirmed incident; raw evidence and independent investigation remain required.

First checks

  • Parser test with sample logs — extraction
  • Parse failure rate — errors
  • Timestamp extraction — correct time zone

Verify in this order

raw log → parser → fields

Where it usually breaks

First mismatch in event source → collection → parsing/normalization → enrichment/correlation → detection/alert → analyst/automation response → outcome; preserve identity/policy/pre-state before mutation.

SIEM → Parsing proof map

BoundaryEstablishDoes not establish
IngestSource event reached the intended collection/raw pathConnector health does not prove complete telemetry
StructureParser and normalization produced validated fields while raw data remains availableParse success does not prove semantic correctness
ContextEnrichment and correlation use known keys, freshness and time windowsMatch or proximity does not prove attribution or causation
DetectionRule executed over expected scope/data and produced evidenceRule firing does not prove malicious activity
WorkflowAlert reached analyst and investigation preserved evidence/outcomeAlert closure does not prove incident resolution or future coverage

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4869

Confirmation

Confirm action

Continue?