If you would like to re-index existing collected OSSEC data to verify that the data is properly rendering in the UI, open a command line with root priviledges and run the following commands:
systemctl stop awpd /var/awp/bin/awp_indexgen -f /var/awp/bin/awpvuln systemctl start awpd
If you would like to wipe all event and vulnerability data, you may follow the procedure below
*NOTE* This will clear ALL data collected by OSSEC to this date and will start the DB from a clean state
systemctl stop ossec-hids systemctl stop awpd rm -f /var/awp/data/stat rm -f /var/awp/data/reports/json_data/* <rm the ossec logs> systemctl start ossec-hids systemctl start awpd
This line is necessary only if not manually running awpvuln after clearing the ossec logs