Hi
Henrique
Can you please verify that have you followed the vulnerability detection module
https://documentation.wazuh.com/current/user-manual/capabilities/vulnerability-detection/configuring-scans.html.
Please make sure to update the <vulnerability-detection> and <indexer> block in /var/ossec/etc/ossec.conf in version 4.8.0.
Replace
`0.0.0.0` with the
indexer IP in the Filebeat config file, For example:
output.elasticsearch.hosts:
-
127.0.0.1:9200Wazuh indexer node's IP address or hostname. If you have a Wazuh indexer cluster, add a `<host>` entry for each one of your nodes. For example, in a two-node configuration:
<hosts>
<host>
https://10.0.0.1:9200</host>
<host>
https://10.0.0.2:9200</host>
</hosts>
Check the certificate name:
ll /etc/filebeat/certs
Verify the Filebeat certificate name and path are correct and update th
e `<indexer>` block in `/var/ossec/etc/ossec.conf` accordingly.
In case the certs is missing you can extract that from
wazuh-certificates.tar that is created at the time of generating certs
Save the Wazuh indexer username and password into the Wazuh manager keystore using the Wazuh-keystore tool:
/
var/ossec/bin/wazuh-keystore -f indexer -k username -v <INDEXER_USERNAME>
/var/ossec/bin/wazuh-keystore -f indexer -k password -v <INDEXER_PASSWORD>
After that, save the configuration and restart the manager/cluster using the command:
systemctl restart wazuh-managerIf this didnt resolve the issue then please share the output of the following command
cat /var/ossec/logs/ossec.log | grep vulRefer:
https://documentation.wazuh.com/current/upgrade-guide/troubleshooting.htmlAs for The error '
wazuh-analysisd: ERROR: Too many fields for JSON decoder' typically occurs when there are too many fields in the JSON message being processed by the Wazuh manager. This can happen when there is a large amount of data being sent to wazuh. To fix this issue, you can try increasing the
analysisd.decoder_order_size parameter in the Wazuh manager configuration file.
/var/ossec/etc/local_internal_options.conf :
https://documentation.wazuh.com/current/user-manual/reference/internal-options.html#analysisdThis parameter determines the maximum number of fields in a decoder.
Keep in mind that increasing this value may also increase the CPU and memory usage of the manager.
Once you have made the necessary changes, restart the Wazuh manager and check if the error persists.
I hope to help you, let me know if you have anything.
Regards.
Hope to hear from you soon