🚧 Under construction — VoTechWorks is being built. A free tech program — complimentary, as our commitment to get America working.
voTechWorksGrade 13 · a vocational technology learning center, by urbanicity
newSchoolWorks.com › VoTechWorks › Technology & Design › Cybersecurity › Security Information and Event Management (SIEM) › Lesson 2
TEC-CYBE44-06 · Lesson 2 · 16 clock hours · lab

Log Sources, Data Collection, and Normalization

Objective. Students configure at least four distinct log sources to forward data to a SIEM instance and verify that each source is parsed and normalized correctly.

⚠ Pending professional review

This lesson, its worked examples and its practice questions has not yet been verified by an industry-certified professional or by a certification or approval body. It is a study draft and may contain errors. Do not use it as instructions for work on a job site or on live equipment. Always follow your instructor, your supervising professional, and current official references and regulations.

VoTechWorks program approval and accreditation are still in progress. Credentials are issued only by the certifying bodies named in each program, after their own exams.

Why Log Sources and Collection Matter

A Security Information and Event Management (SIEM) platform is only as useful as the data it receives. If log sources are missing, misconfigured, or deliver data in inconsistent formats, analysts will miss threats or waste time chasing false alerts. This lesson walks through connecting real log sources, transporting that data reliably, and normalizing it so every record speaks the same language inside the SIEM.

Types of Log Sources

A mature SIEM deployment collects from at least four categories of sources:

For the CompTIA CySA+ exam, you are expected to understand log source types and their role in threat detection.

Forwarding Methods

Agent-based forwarding places a small program—called a forwarder or agent—on each endpoint. The agent reads local logs and ships them to the SIEM collector. Examples include Elastic Beats (specifically Winlogbeat for Windows events and Filebeat for flat-file logs) and the Splunk Universal Forwarder. Agents handle buffering, compression, and encrypted transport, making them reliable over unstable links.

Syslog forwarding is the standard method for network devices that cannot run an agent. The device sends log messages—formatted under RFC 5424 or the older RFC 3164—over UDP port 514 (or TCP for reliable delivery) to a syslog receiver on the SIEM. pfSense and Apache can both be configured to send syslog messages this way.

API and file-based ingestion covers cloud services and applications that expose logs through an API or write to a shared file path. The SIEM polls or subscribes to retrieve records.

The Collection Pipeline

Data moves through several stages before an analyst can search it:

1. Generation – The source system writes a log entry.

2. Transport – An agent or syslog sender transmits the entry to the SIEM.

3. Ingestion – The SIEM receiver accepts the raw data and tags it with a source identifier and receipt timestamp.

4. Parsing – The SIEM applies parsing rules to break raw text into named fields (source IP, destination IP, action, timestamp, etc.).

5. Normalization – Field values are mapped to a common schema so a "deny" from a firewall and a "blocked" from a proxy appear as the same action value.

6. Indexing – Parsed, normalized records are written to the search index.

If parsing fails at step 4, critical fields remain unparsed and the record becomes nearly useless for correlation rules.

Normalization and Field Extraction

Raw log lines from different vendors look nothing alike. A firewall might write `2024-03-15T14:22:01Z` while an older appliance writes `Mar 15 14:22:01`. If the SIEM stores both versions as raw strings, time-based correlation across sources breaks.

Grok patterns (used by Logstash and similar tools) and regular expressions (regex) are the two main tools for field extraction. A grok pattern is a named regex shortcut. For example, the pattern `%{TIMESTAMP_ISO8601:event_timestamp}` extracts an ISO 8601 timestamp and stores it in a field called `event_timestamp`. After normalization, every source writes to the same field name in the same format, regardless of the original log style.

The Elastic Common Schema (ECS) and Splunk's Common Information Model (CIM) are two widely used normalization frameworks. Both define standard field names (e.g., `source.ip`, `destination.ip`, `event.action`) so dashboards and detection rules work across log types without rewriting.

Verification

After configuring a log source, always verify ingestion before declaring the source operational:

1. Generate a known event on the source (log in, trigger a firewall rule, make an HTTP request).

2. Run a search in the SIEM filtered to that host and a narrow time window.

3. Inspect the returned record: confirm all critical fields (source IP, destination IP, timestamp, action or event ID) are populated and correctly typed.

4. Check for `_raw` or unparsed fields that suggest the parser missed something.

Document each source in a configuration log: source name, forwarding method, receiving input on the SIEM, parser or index-time extraction used, and the verification search query. This record is your audit trail and helps the next analyst troubleshoot gaps.

Safety and Lab Environment Notes

All lab work in this course uses isolated virtual machines that are not connected to production networks or the public internet unless the lab explicitly requires it. Treat credentials created in lab VMs as lab-only; never reuse lab passwords on real systems. When decommissioning a lab VM that held log data, delete the virtual disk to prevent sensitive test data from persisting on shared hardware. If you are working on a shared physical host, confirm with your instructor that your virtual network is host-only or NAT-only before starting any services that listen on network ports.

Key terms8

SIEMSecurity Information and Event Management: a platform that collects, parses, correlates, and alerts on log data from multiple sources in near real time.
Log forwardingThe process of transmitting log entries from their source system to a central collector or SIEM, using an agent, syslog, or API method.
NormalizationMapping fields from disparate log formats to a common schema so that field names and value formats are consistent across all sources.
Grok patternA named regular-expression shortcut used by tools such as Logstash to extract and label fields from raw log text.
SyslogA standard protocol (defined in RFC 5424 and the older RFC 3164) used by network devices and servers to send log messages to a remote receiver, typically over UDP or TCP port 514.
Universal Forwarder / Elastic BeatLightweight agent software installed on an endpoint to collect local logs and ship them to a SIEM or indexer, with built-in buffering and optional encryption.
Field extractionThe parsing step in which a SIEM identifies named substrings within a raw log line and stores them as searchable, typed fields.
Common Information Model (CIM) / Elastic Common Schema (ECS)Vendor-defined normalization frameworks that specify standard field names (e.g., source.ip, event.action) so detection rules and dashboards work consistently across log types.
In class: Lab: Install a lightweight forwarder (e.g., Elastic Beats or Splunk Universal Forwarder) on a Windows VM and a Linux VM; confirm event ingestion by running a search for host-specific events in the SIEM UI. · Lab: Configure syslog forwarding from a simulated firewall (pfSense or an equivalent open-source appliance in a virtual lab) and a web server (Apache) to the SIEM; verify that source IP, destination IP, timestamp, and action fields parse correctly into the common schema. · Normalization review exercise: given three raw log samples with inconsistent timestamp formats, students write or modify a field-extraction rule (regex or grok pattern) to standardize the timestamp field, then validate in the SIEM search interface.
Materials: Virtual lab environment (VirtualBox or VMware Workstation), Windows Server 2019 VM, Ubuntu Server VM, pfSense VM, Apache web server, Splunk Free or Elastic Stack (free tier), Elastic Beats or Splunk Universal Forwarder installers, CySA+ study guide (log management chapter)
Check: Instructor verifies all four log sources appear in the SIEM with correct field parsing; students submit a one-page configuration log documenting each source and the verification search used. Pass = all four sources ingesting with zero unparsed critical fields.

Practice check8

Answer each question, then check it. Nothing is recorded; this is your own practice.

CySA+ — Security Operations
1. An analyst notices that firewall deny events from pfSense appear in the SIEM with the `source.ip` field empty. Which pipeline stage most likely failed?
Security+ — Security Operations
2. Which of the following is the PRIMARY advantage of using an agent-based forwarder (such as Elastic Beats) over plain syslog UDP forwarding?
CySA+ — Security Operations
3. A grok pattern `%{IP:src_ip}` is applied to the raw line `DENY 192.168.1.10 -> 10.0.0.5 port 443`. What will the field `src_ip` contain after parsing?
CySA+ — Security Operations
4. After installing the Splunk Universal Forwarder on a Windows Server 2019 VM, a student searches the SIEM and finds no events from that host. What is the FIRST verification step the student should take?
CySA+ — Security Operations
5. Which normalization framework defines standard field names such as `source.ip`, `destination.port`, and `event.action` for use with the Elastic Stack?
CySA+ — Threat and Vulnerability Management
6. A web server's Apache access log contains the line: `192.168.5.20 - - [15/Mar/2024:14:22:01 -0500] "GET /index.html HTTP/1.1" 200 1024`. Which field provides the BEST indicator of a potential web attack when monitored over time?
Security+ — Network Security
7. Which protocol and default port does syslog typically use for connectionless log delivery from a firewall to a SIEM collector?
CySA+ — Security Operations
8. A student's configuration log must show that all four SIEM log sources pass with 'zero unparsed critical fields.' Which of the following would cause a source to FAIL this check?
Record this lesson on my transcript. Sign in with your key and enrollment email to record lessons (enroll free if you have no key). This page stays open to read and practise.