In a SIEM, what is the role of a 'Parser'?
A parser reads raw log events and extracts individual fields, mapping vendor-specific formats into a common schema so downstream correlation and search work consistently. This normalisation satisfies the SIEM's need for comparable, structured event data across heterogeneous sources.
Why this answer
A parser in a SIEM is the component that ingests raw log events from heterogeneous sources (firewalls, servers, applications) and breaks each event into structured fields (timestamp, source IP, user, event type) using regex, delimiters, or key-value extraction. It then normalizes those fields into a common schema (e.g., ECS or CIM) so correlation rules and dashboards can query across all sources consistently. Without parsing/normalization, the SIEM would only have unstructured text and could not reliably correlate events.
Exam trap
The trap here is confusing the SIEM's ingestion/parsing function with downstream functions like reporting, encryption, or malware scanning — candidates pick a plausible-sounding security task instead of the data-structuring role a parser actually performs.
How to eliminate wrong answers
Option A is wrong because report generation is the job of the SIEM's reporting/dashboard module, not the parser — parsers operate on the ingestion pipeline before any reporting layer. Option B is wrong because encryption of log files is handled by transport/storage controls (TLS, at-rest encryption), not by the parser, which must read plaintext to extract fields. Option C is wrong because virus scanning is an endpoint/AV or sandbox function; a SIEM parser does not perform malware detection, it structures event data for analytics.