3. Detecting threats with Sigma #
SIEM rules evaluated as alerts.
The Sigma pipeline #
Observa imports SigmaHQ rules (more than 3,000), converts them to LogQL (Loki) or Lucene (Elasticsearch, OpenSearch) using a field mapping profile, and evaluates them as alerts. MITRE ATT&CK techniques and tactics become the mitre_techniques and mitre_tactics labels, usable in routing to the SOC.
TOKEN=obs_xxxxxxxx
curl -s -H "Authorization: Bearer $TOKEN" https://observa.example.com/api/alerting/sigma/rules
curl -s -H "Authorization: Bearer $TOKEN" https://observa.example.com/api/alerting/sigma/configLimits :fieldrefmodifiers, correlation rules andnearare not supported: the rule is rejected on import. Preview the conversion (POST /api/alerting/sigma/convert) before importing a batch.
Best practice : Do not import all 3,000 rules at once: start with thehighandcriticallevels matching your real logs, measure the noise for a week, then widen.
Sources #
My progress
Sign in to track your progress and take notes. Sign in
💬 Questions about this lesson
No questions yet: be the first to ask for help or share your configuration.
Recommended Articles
Alerts, notifications and anomaly detection in OpenSearch
Monitoring your data with OpenSearch: monitor types, triggers, actions and throttling, Slack, web...
Prometheus: alerting with Alertmanager (rules, routing, silences)
Set up Prometheus alerting: alert rules, Alertmanager, routing, grouping, inhibition, silences, S...
Grafana Alerting and on-call management
Create alerts in Grafana (rules, contact points, notification policies), provision them in YAML, ...
SLOs, on-call and incidents in Observa
Define SLOs in Observa (error budget, burn rate, multi-window alerts), organize on-call and escal...
Alerting on logs with the Loki Ruler
Set up LogQL alerts and recording rules with the Loki Ruler: configuration, rule files, Alertmana...
Alerting best practices: Prometheus, Alertmanager and on-call
Checklist for effective alerting: symptom-based rules, severities, routing by team, noise reducti...
Observa best practices
Best practices to run Observa in production: deployment, security, sources, dashboards, alerting,...
Prometheus best practices: metrics, cardinality, rules and operations
Prometheus best practices: metric naming, labels and cardinality, scrape intervals, recording rul...
Writing good Prometheus alerting rules (and testing them)
Design useful alerts: alert on symptoms, choose for and thresholds, severity and team labels, ann...