# Wazuh alert triage: read the fields and recover context

> How to read a Wazuh JSON alert: rule.level, groups, MITRE, decoder, location and firedtimes, and when to reach for the archives. With a triage checklist.

Published: 2026-10-15. Updated: 2026-11-12. Category: Analysis. Tags: Wazuh 4. MITRE ATT&CK: T1110, T1110.001, T1021.004, T1078, T1543.003. Wazuh rules: 5710, 5712. URL: https://wazuh.blog/en/blog/soc-triage/ Polish original: https://wazuh.blog/blog/soc-triage/

A Wazuh alert is the result of matching an event to a rule, not a finished incident classification. Triage starts by reconstructing what the entry contains, where it comes from and what other data can explain its meaning.

## First separate the event from the alert

The Wazuh server processes events received from agents and agentless devices, and rules assign them a level. An alert is a notification generated after an event is processed. By default alerts are written to `/var/ossec/logs/alerts/alerts.log` and `/var/ossec/logs/alerts/alerts.json`, and Filebeat forwards them to the Wazuh indexer.

Not every collected event has to generate an alert. The `alerts` section in `ossec.conf` has two thresholds, both accepting values from 1 to 16:

| Option | Meaning | Default value |
|---|---|---|
| `log_alert_level` | Minimum level of an alert written to alerts.log or alerts.json | 3 |
| `email_alert_level` | Minimum level of an alert that sends an e-mail notification | 7 |

The `ossec.conf` installed with the Wazuh manager sets `email_alert_level` to 12. This setting overrides the detailed e-mail configuration: a value of 10 blocks sending for alerts below level 10, even when the detailed configuration refers to lower levels. A single rule can bypass this with the `alert_by_email` option.

```xml
<alerts>
  <log_alert_level>3</log_alert_level>
  <email_alert_level>12</email_alert_level>
</alerts>
```

Archives contain the collected logs, including those that did not trigger an alert, and are disabled by default.
## Anatomy of a JSON alert

The MITRE ATT&CK documentation example shows a full JSON alert tied to a rule that maps a Sysmon event to a MITRE technique. In the block the agent IP is replaced with the synthetic address `192.0.2.10`, and the other fields of the example are kept.

```json
{
  "agent": {
    "ip": "192.0.2.10",
    "name": "Windows11",
    "id": "002"
  },
  "manager": {
    "name": "wazuh-server"
  },
  "data": {
    "win": {
      "eventdata": {
        "image": "C:\\\\Windows\\\\system32\\\\services.exe",
        "targetObject": "HKLM\\\\System\\\\CurrentControlSet\\\\Services\\\\PSEXESVC\\\\ObjectName",
        "processGuid": "{45cd4aff-93d1-6501-0b00-000000000b00}",
        "processId": "720",
        "utcTime": "2023-10-16 12:12:15.759",
        "ruleName": "technique_id=T1543,technique_name=Service Creation",
        "details": "LocalSystem",
        "eventType": "SetValue",
        "user": "NT AUTHORITY\\\\SYSTEM"
      },
      "system": {
        "eventID": "13",
        "keywords": "0x8000000000000000",
        "providerGuid": "{5770385f-c22a-43e0-bf4c-06f5698ffbd9}",
        "level": "4",
        "channel": "Microsoft-Windows-Sysmon/Operational",
        "opcode": "0",
        "message": "\"Registry value set:\r\nRuleName: technique_id=T1543,technique_name=Service Creation\r\nEventType: SetValue\r\nUtcTime: 2023-10-16 12:12:15.759\r\nProcessGuid: {45cd4aff-93d1-6501-0b00-000000000b00}\r\nProcessId: 720\r\nImage: C:\\Windows\\system32\\services.exe\r\nTargetObject: HKLM\\System\\CurrentControlSet\\Services\\PSEXESVC\\ObjectName\r\nDetails: LocalSystem\r\nUser: NT AUTHORITY\\SYSTEM\"",
        "version": "2",
        "systemTime": "2023-10-16T12:12:15.7636688Z",
        "eventRecordID": "118081",
        "threadID": "3644",
        "computer": "Windows11",
        "task": "13",
        "processID": "3140",
        "severityValue": "INFORMATION",
        "providerName": "Microsoft-Windows-Sysmon"
      }
    }
  },
  "rule": {
    "firedtimes": 4,
    "mail": false,
    "level": 10,
    "description": "PsExec service running as NT AUTHORITY\\\\SYSTEM has been created on Windows11",
    "groups": [
      "windows",
      "sysmon"
    ],
    "mitre": {
      "technique": [
        "Windows Service"
      ],
      "id": [
        "T1543.003"
      ],
      "tactic": [
        "Persistence",
        "Privilege Escalation"
      ]
    },
    "id": "110011"
  },
  "location": "EventChannel",
  "decoder": {
    "name": "windows_eventchannel"
  },
  "id": "1694607138.3688437",
  "timestamp": "2023-10-16T12:12:18.684+0000"
}
```

`agent` identifies the agent by IP address, name and identifier. `manager` gives the name of the Wazuh server; the documentation describes an alert as generated by the Wazuh manager after it processes events. `data` holds the fields extracted from the specific event. In this example the `win.eventdata` branch describes the Windows event, and `win.system` carries the metadata of the source entry.

`rule` describes the match. `id` identifies the rule, `level` gives its level, and `description` briefly explains the event. `groups` lets you recognize the rule category and related alerts. `firedtimes` in logtest counts the rule matches during the session. `mitre` groups the technique identifier with the technique and tactic names. In this example the mapping points to `T1543.003`, `Windows Service`, `Persistence` and `Privilege Escalation`.

`decoder.name` points to the decoder that recognized the event format. `location` has the value `EventChannel` in the example; in the tester API the `location` field is described as the origin of the log. The `timestamp` and `id` fields sit at the top level of the alert (in the example 2023-10-16T12:12:18.684+0000 and 1694607138.3688437), and the documentation does not describe them. `data` and `full_log` are not interchangeable: structured fields help filter and compare events, and the full message can keep the raw content. The documentation shows `full_log` in another JSON example from rule testing.

## The level is a starting point, not a verdict

Wazuh rules have levels from `0` to `16`. Level `0` means ignored events, which do not appear in the security events dashboard. Level `1` describes low-importance information and sits below the default `log_alert_level` of `3`. Levels `2` and `3` cover system status notifications and successful or authorized events respectively.

As the level rises, the type of signal changes, not the certainty that an incident occurred. Level `5` covers user-generated errors, such as a wrong password or a denied action. Level `8` can mean an event seen for the first time. Level `10` covers multiple user errors and can mean an attack or a forgotten password. Level `14` usually results from correlation and indicates an attack. Level `15` describes a serious attack that needs immediate attention. Level `16` is reserved for custom rules at the maximum level; no default rule uses it.

The scale and the interpretation of levels are covered in the [article on Wazuh rule levels](/en/blog/wazuh-rule-levels-and-thresholds/).

The logtest documentation shows how the level grows with a series of events. A single SSH log for a non-existent user matches rule 5710 at level 5, and `firedtimes` grows with each repeat in the same session. The eighth event from one IP address within two minutes matches rule 5712 at level 10 with `frequency: 8`. The values come from the documentation example and do not define a policy for other rules. The first step of this run, with a changed host name and address:

```text
Oct 15 21:07:00 agent-01 sshd[29205]: Invalid user blimey from 192.0.2.10 port 48928
```

```text
**Phase 1: Completed pre-decoding.
   timestamp: 'Oct 15 21:07:00'
   hostname: 'agent-01'
   program_name: 'sshd'
**Phase 2: Completed decoding.
   name: 'sshd'
   parent: 'sshd'
   srcip: '192.0.2.10'
   srcport: '48928'
   srcuser: 'blimey'
**Phase 3: Completed filtering (rules).
   id: '5710'
   level: '5'
   description: 'sshd: Attempt to login using a non-existent user'
   groups: '["syslog","sshd","authentication_failed","invalid_login"]'
   firedtimes: '1'
   mitre.id: '["T1110.001","T1021.004","T1078"]'
   mitre.technique: '["Password Guessing","SSH","Valid Accounts"]'
**Alert to be generated.
```

In the logtest response `predecoder` carries `program_name`, `timestamp` and `hostname`, and `decoder` carries the decoder name and its parent. The `full event` field is omitted, and the other rule fields (`gdpr`, `hipaa`, `nist_800_53`, `pci_dss`, `tsc`) are shortened for readability.

## Groups, MITRE and the decoder

The groups in `rule.groups` describe the rule classification. The documentation examples show labels such as `syslog`, `sshd`, `authentication_failed` and `invalid_login`. This set of values lets you quickly recognize the event family and find other alerts with a similar classification. The logtest example shows several labels at once: the input format, the program and the type of authentication failure. Rule correlation is covered in the [article on event correlation](/en/blog/wazuh-event-correlation/).

The fields `rule.mitre.id`, `rule.mitre.tactic` and `rule.mitre.technique` link the alert to ATT&CK tactics and techniques. The MITRE ATT&CK module in the dashboard offers an Intelligence view with information about actors, indicators and mitigations; a Framework view for browsing and filtering tactics and techniques; a summary dashboard; and an Events tab with details of events tied to a TTP. Events can be filtered by, among others, severity, event type and detection method, and then sorted by various fields.

The decoder is responsible for recognizing the log format and extracting fields from it. In Windows alerts this can be `windows_eventchannel`; in the SSH log example, `sshd`. In the logtest response `data` contains values matched from the log, for example `srcip`, `srcport` and `srcuser`. Comparing these fields with `full_log` helps check whether the parsing kept the element that matters to the rule. More about decoders and testing is in the [article on `wazuh-logtest`](/en/blog/wazuh-logtest/) and the [article on custom decoders](/en/blog/wazuh-custom-decoders/).

## Alerts and archives answer different questions

An alert explains which event matched the rule and what metadata Wazuh gave it. The documentation describes archives as a centralized place that stores all logs collected from monitored endpoints. Once enabled, the archives can be indexed and searched through the dashboard.

The Wazuh dashboard shows archive logs in the Discover section. The Index patterns tab shows the `wazuh-alerts-*` pattern and its fields. For triage this means two directions: open the alert and read the rule match, then look for context in the archive logs, if they are available. The archive can help establish the cause, location, communication, time and process relationships listed in the threat hunting documentation.

The archive is useful when the analyst knows the starting point, for example an alert and its time, but needs neighboring events that did not meet the rule conditions. In Discover you can search data collected from endpoints and compare it with the alert. The documentation does not give query syntax or filters by agent. The search criteria have to be chosen from the fields available in the index.

If the archive is not enabled, no results in Discover do not prove that there were no events at the source. The pages used do not specify the archive file paths or the completeness of the data for a particular deployment. More about the relation between alerts and archives is in the [article on alerts and archives](/en/blog/wazuh-archives-vs-alerts/).

## Triage checklist

1. Read `timestamp`, `agent.name`, `agent.id` and `agent.ip`. Establish which endpoint the alert concerns and when it arose.
2. Review `rule.id`, `rule.level` and `rule.description`. Treat the description as a hypothesis to check.
3. Check `rule.groups` and `rule.mitre`. Record the event category and the mapped TTPs.
4. Look at `decoder.name`, `predecoder`, `data` and `full_log`. Verify that the decoder extracted the values needed to interpret the event.
5. Check `location` and `manager.name` to tell the log source from the server that generated the alert.
6. Compare `rule.firedtimes` with other alerts and with the relevant event window. The counter alone does not explain which entries raised it.
7. Use the MITRE ATT&CK module to move to related events, then Discover and the archives, if they were enabled.
8. Record the finding separately from the rule classification: what data confirms the event, what is missing and what further context must be checked.

## What the documentation does not specify

The pages used do not define a universal procedure for deciding on an incident, nor the meaning of `firedtimes` in production alerts: in logtest the counter works within a session, and its time window in alerts is not described.

## Sources

- https://documentation.wazuh.com/current/user-manual/ruleset/testing.html
- https://documentation.wazuh.com/current/user-manual/ruleset/mitre.html
- https://documentation.wazuh.com/current/user-manual/ruleset/rules/rules-classification.html
- https://documentation.wazuh.com/current/user-manual/manager/alert-management.html
- https://documentation.wazuh.com/current/getting-started/use-cases/threat-hunting.html
