State index fields
State indices store the latest known state of each monitored endpoint. Wazuh agent modules report the state, and the Wazuh manager keeps the indices in sync. Each index has its own module in the stateful folder, with a fields.csv file that lists its fields.
WCS uses the same field names in events and in the state indices. Each page shows how to detect a change with a rule on the event field, then check the current state with a query on the same field.