Hello,
We are experiencing a long-term issue where new indices for wazuh-status-inventory-* and wazuh-status-vulnerabilities-* are failing to be created.
Our Filebeat logs are consistently flooded with the following warning regarding a mapping conflict:
Mapping Conflict: In our current wazuh-archives-4.x-* indices, the field data.service is explicitly mapped and stored as a keyword type. However, the system inventory and vulnerability modules seem to expect a different structure (object) for this field, causing the parsing exception.
Root Cause Suspicion: We suspect this conflict is triggered by the official Fortigate decoder (0100-fortigate_decoders.xml). Specifically, the following section extracts the service name directly into the service field:
When these firewall logs are processed, they populate data.service as a simple string (keyword), which collides with the index templates of the IT Hygiene / Vulnerability modules.
We want to fully utilize the Vulnerability Detector and IT Hygiene features without losing the ability to send logs from Fortigate to archive
What is the recommended best practice to resolve this naming collision between the official Fortigate decoder and the internal Wazuh status/inventory mappings?
Should we implement a custom decoder/rule to map the Fortigate service field to a custom variable (e.g., data.fg.service), or is there an official index template workaround/reindexing strategy you recommend?
Thank you for your assistance.
Best regards
Stefan O.