WCS field reference

This section lists the fields of each WCS module. You can learn how the schema is organized in How WCS works, how Wazuh fills the fields in How Wazuh uses WCS fields, and which fields to use first in Key WCS fields.

  • Event fields: The fields of the normalized events in the wazuh-events-v5-<CATEGORY> data streams, grouped by field set.

  • Findings fields: The fields that findings add to the event fields, in the wazuh-findings-v5-* data streams.

  • State index fields: The fields of the wazuh-states-* indices, which store the latest known state of each endpoint.

The field set pages, the Findings fields page, and the four state index pages each start with a worked example that follows one field through a decoder, a rule, or a query, and highlights where the field is used and where it appears in the output. Each of these pages has a search and filter bar above its tables: search a field by name or description, or filter by type, level, or whether the field is indexed. Most queries and rules only need the core fields. Set Level to core to see only those.

Table columns

Every table in this section describes one field per row. Each field set table lists its fields with the following columns:

  • Field: The full name of the field as it appears in an event, including its field set prefix. For example, file.path or wazuh.agent.id.

  • Type: The data type the Wazuh indexer uses to store the field's value. For example, keyword for text such as user.name, long for whole numbers such as file.size, date for timestamps such as @timestamp, and ip for IP addresses.

  • Level: Where the field comes from. core and extended fields come from ECS. core fields are the most widely used, such as @timestamp and user.name, and extended fields cover more specific cases. custom fields are added by WCS, such as wazuh.agent.groups.

  • Normalization: array means the field is expected to hold a list of values, for example, process.args. An empty cell means the schema sets no expectation. Any field can still hold a list of values of its type; for example, gen_ai.response.finish_reasons.

  • Indexed: Whether the Wazuh indexer indexes the field so you can search on it. Almost all fields are true. Fields marked false, such as event.original, are stored in the event, but you can't search or filter on them.

  • Example: A sample value for the field, as it would appear in an event. For example, /home/alice/example.png for file.path.

  • Description: A short explanation of what the field contains. For example, the description of file.size is "File size in bytes."