Step 3: Label Selected Statuses
The mapping assigns a neutral review_class to records retained by the previous stage.
Reference configuration
pipeline:
processors:
- mapping: |
root.review_class = match {
this.adapter_status == 2 => "status-2"
this.adapter_status == 1 => "status-1"
_ => "unclassified-status"
}
These strings are deterministic grouping labels, not a diagnostic model. They deliberately avoid assigning physical fault or severity meaning.
Review before implementation
- Replace the status mapping with site-owned definitions.
- Define handling for missing, malformed, and undocumented status values.
- Keep review labels separate from protection and control functions.
- Add a correlation stage before any rule that depends on several registers.
Source artifact: examples/integrations/scada-energy-edge/step-3-classify-faults.yaml.