Audit_log_filter component and MySQL 8.4

Did you completely remove the original install? (delete entry in mysql.component; remove entries from audit tables (using the remove_filter function) uninstall component ‘file://component_audit_log_filter’; drop audit tables; remove any entries in my.cnf file; restart MySQL).

After that maybe try running the “audit_log_filter_linux_install.sql” one command at a time, rather than the whole script, so you can see exactly where it is failing.