Let's check if there's no decoder matching now.
In /var/ossec/etc/ossec.conf, set <logall_json> to yes, like so: <logall_json>yes</logall_json>
in /etc/filebeat/filebeat.yml, set archives: enabled to true.
archives:
enabled: true
Restart both filebeat and wazuh-manager:
systemctl restart filebeat
systemctl restart wazuh-manager
Select ☰ > Management > Stack Management in the Wazuh dashboard.
Choose Index Patterns and select Create index pattern. Use wazuh-archives-* as the index pattern name.
Select timestamp as the primary time field for use with the global time filter, then proceed to create the index pattern.
Open the menu and select Discover under OpenSearch Dashboards. Events should be getting reported there.