Collect and featurise telemetry
Aggregate logs and derive numeric and categorical features (rate, counts, byte volumes, event types), then handle missing or aggregated timestamps.
Cluster SIEM alerts. Prioritise analyst review.
SIEM alert clustering groups related security events so analysts see fewer, higher-value alert clusters. Typical issues include noisy telemetry, concept drift as traffic patterns change, and balancing recall with analyst false positives.
Learning concept · Not a validated service
SIEM alert clustering groups related security events so analysts see fewer, higher-value alert clusters. Typical issues include noisy telemetry, concept drift as traffic patterns change, and balancing recall with analyst false positives.
A proposed use: group related alerts for SOC analysts to reduce triage load while keeping a human reviewer in the loop. This project description and starter code do not deliver a production-ready SOC integration and should not be used for real incident response without further validation and human oversight.
Aggregate logs and derive numeric and categorical features (rate, counts, byte volumes, event types), then handle missing or aggregated timestamps.
Fit a simple anomaly detector to highlight unusual events as a baseline; record scores rather than final labels for analyst review.
Apply clustering on features or embeddings to group related alerts and surface representative events for each cluster to analysts.
Report precision, recall, false positive rate and analyst triage time; track drift and false-positive trends over time.
The supplied starter creates synthetic numeric 'normal' and 'suspicious' log rows, fits an IsolationForest anomaly detector, tags rows as inlier/outlier and prints the flagged alerts. It performs anomaly detection on toy data, not clustering.
)
logs = pd.concat([normal, suspicious], ignore_index=True)
detector = IsolationForest(contamination=0.05, random_state=42)
logs["anomaly_score"] = detector.fit_predict(logs)
alerts = logs[logs["anomaly_score"] == -1]The starter uses small synthetic numeric data and an IsolationForest to mark anomalies; it does not implement any clustering of alerts, nor does it use real SIEM logs or categorical event fields. The toy dataset and single-model baseline cannot validate operational performance or analyst workload impact.
A possible extension is to replace synthetic rows with real SIEM logs, extract richer features (event types, source/destination, time windows), build clustering over alert embeddings, and expose cluster summaries for analyst feedback.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its Cybersecurity Course, with placement support and hands-on labs.