Skip to content
Tutorials Center
My learning

Topics

Lesson 1 of 37 ยท Getting Started

What Is a SIEM and What Does a SOC Do?

Learn what a SIEM is, how a Security Operations Center uses it, and why logs, alerts and people matter. Includes a small runnable log-to-alert example in Python.

Every computer, firewall, cloud account and application writes down what it does. These records are called logs. A single busy company produces billions of log lines a day, and somewhere inside them are the few lines that show an attacker at work. A SIEM (Security Information and Event Management) system is the software that collects those logs, makes them searchable, and raises an alert when something looks wrong. A SOC (Security Operations Center) is the team that watches those alerts and decides what to do.

This course is defensive. You will learn how to collect data, write detections, investigate alerts and respond to incidents. All sample data is invented, and every exercise runs on text you create yourself. Only ever test detections against systems you own or are authorized to monitor.

The two halves of the name

The acronym joins two older ideas:

  • SIM (Security Information Management) focused on long-term storage of log data, reporting and compliance ("prove that we kept the logs for 12 months").
  • SEM (Security Event Management) focused on real-time monitoring, correlation and alerts ("tell me now if five logins fail and one succeeds").

A modern SIEM does both, plus search, dashboards, case management and often automation.

What a SIEM does

Collect Logs from many sources
Normalize One common format
Correlate Link related events
Alert Notify an analyst

Collect, normalize, correlate, alert.

1 / 2

Why logs alone are not enough

Imagine a server log that says Failed password for root from 203.0.113.9. One line is noise: people mistype passwords. Two hundred of them in a minute from one address is an attack. And if the 201st line says Accepted password for root, you have a likely compromise. No human can read a billion lines, so we need software to count, group and compare events. That is the SIEM's job.

Python A tiny SIEM: collect, count, alert

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The four numbered steps in the code are exactly the stages of every real SIEM, just at a tiny scale.

What a SIEM is not

  • Not a magic detector. It only finds what you collected data for and wrote rules for.
  • Not an antivirus or firewall. Those prevent or block; a SIEM observes and alerts.
  • Not only a log archive. Storing logs is the easy part; making them useful is the work.
  • Not a replacement for analysts. Alerts are questions, and people answer them.

Typical questions a SIEM answers

Question Example data source
Who logged in from a new country? Identity provider, VPN logs
Did a user download unusual volumes? Proxy, cloud storage logs
Which hosts talked to a known bad address? Firewall, DNS, threat intel list
Was a new admin account created? Windows Security log, directory audit log
Did anyone clear the logs? Windows event 1102, syslog gaps

A first look at a realistic alert

Alerts in a SIEM carry context so the analyst can decide fast. A typical one holds a name, severity, time, the matching events and the affected assets:

JSON
{
  "rule": "Multiple failed logins followed by success",
  "severity": "high",
  "first_seen": "2026-11-12T09:00:01Z",
  "user": "root",
  "src_ip": "203.0.113.9",
  "event_count": 5,
  "host": "web1"
}
Python Build an alert object and rank by severity

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Real SIEMs rank by more than a label: asset value, user role and threat intelligence all change priority. You will add these later in the course.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. What is the main job of a SIEM?

    A SIEM collects, normalizes and correlates logs and alerts people. Blocking is done by firewalls and endpoint tools.
  2. 2. Which team normally watches SIEM alerts?

    The SOC triages and investigates alerts, escalating real incidents.
  3. 3. Why is one failed login rarely worth an alert?

    Single events are common and harmless; the pattern (count, speed, success afterwards) is what signals an attack.
  4. 4. Which pair describes the two older ideas behind the SIEM name?

    SIM covered long-term log storage and reporting; SEM covered real-time monitoring and correlation.

Summary

  • A SIEM collects, normalizes, correlates and alerts on log data; a SOC is the team that acts on it.
  • Patterns across many events matter more than any single line.
  • SIEMs observe and alert; they do not replace prevention tools or analysts.
  • This course is defensive: practice only on your own or authorized data.

Next: SIEM Architecture and Data Flow