Thanks for the quick update. please find the below logs, which are storing into the file.
Log1:Â Â (general log)
2023-08-08T05:45:54.138014Z    1357 Query   SELECT id, firstname, lastname FROM MyGuests LIMIT 0, 1000
2023-08-08T05:45:55.100217Z    1357 Query   SHOW TABLES
2023-08-08T05:45:55.138710Z    1357 Query   SELECT id, firstname, lastname FROM MyGuests LIMIT 0, 1000
2023-08-08T05:45:55.326927Z    1357 Query   SHOW TABLES
2023-08-08T05:45:55.362494Z    1357 Query   SELECT id, firstname, lastname FROM MyGuests LIMIT 0, 1000
2023-08-08T05:45:55.555008Z    1357 Query   SHOW TABLES
2023-08-08T05:45:55.590066Z    1357 Query   SELECT id, firstname, lastname FROM MyGuests LIMIT 0, 1000
2023-08-08T05:45:57.786897Z    1357 Query   SHOW TABLES
2023-08-08T05:45:57.824309Z    1357 Query   SELECT id, firstname, lastname FROM MyGuests LIMIT 0, 1000
2023-08-08T05:46:07.686088Z    1357 Query   SHOW TABLES
2023-08-08T05:46:07.723303Z    1357 Query   SELECT id, firstname, lastname FROM MyGuests LIMIT 0, 1000
2023-08-08T07:49:56.255479Z Â Â Â 1359 Connect Â
test...@172.110.13.43 on  using TCP/IP
2023-08-08T07:49:56.259070Z    1359 Connect  Access denied for user 'testuser'@'172.110.13.43' (using password: YES)
2023-08-08T07:50:05.802109Z Â Â Â 1360 Connect Â
test...@172.110.13.43 on  using TCP/IP
2023-08-08T07:50:05.802179Z    1360 Connect  Access denied for user 'testuser'@'172.110.13.43' (using password: YES)
2023-08-08T07:50:13.535006Z Â Â Â 1361 Connect Â
test...@172.110.13.43 on  using TCP/IP
2023-08-08T07:50:13.535077Z    1361 Connect  Access denied for user 'testuser'@'172.110.13.43' (using password: YES)
2023-08-08T08:35:09.419603Z Â Â Â 1362 Connect Â
test...@172.110.13.43 on  using TCP/IP
2023-08-08T08:35:09.422429Z    1362 Connect  Access denied for user 'testuser'@'172.110.13.43' (using password: YES)
log2: (Error log)
2023-08-07T20:46:28.629106Z 1175 [Warning] [MY-010055] [Server] IP address '71.6.232.20' could not be resolved: Name or service not known
2023-08-07T22:55:03.665019Z 1176 [Warning] [MY-010058] [Server] Hostname '
apzg-0729a-058.stretchoid.com' does not resolve to '198.199.96.58'.
2023-08-08T02:38:59.838588Z 1177 [Warning] [MY-010055] [Server] IP address '110.52.217.17' could not be resolved: Temporary failure in name resolution
2023-08-08T03:15:54.308722Z 1178 [Warning] [MY-010055] [Server] IP address '74.235.140.187' could not be resolved: Name or service not known
2023-08-08T04:11:09.369300Z 1179 [Warning] [MY-010055] [Server] IP address '190.83.8.9' could not be resolved: Name or service not known
2023-08-08T04:11:32.659416Z 1199 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
2023-08-08T04:11:58.713963Z 1221 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
2023-08-08T04:12:30.779247Z 1249 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
2023-08-08T04:13:23.005253Z 1296 [Warning] [MY-010057] [Server] IP address '35.187.98.121' has been resolved to the host name '
121.98.187.35.bc.googleusercontent.com', which resembles IPv4-address itself.
2023-08-08T04:13:23.478988Z 1298 [Warning] [MY-010057] [Server] IP address '35.195.93.98' has been resolved to the host name '
98.93.195.35.bc.googleusercontent.com', which resembles IPv4-address itself.
2023-08-08T04:13:56.843377Z 1326 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
2023-08-08T04:14:20.487629Z 1347 [Warning] [MY-013360] [Server] Plugin sha256_password reported: ''sha256_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'
2023-08-08T04:30:45.326908Z 1355 [Warning] [MY-010055] [Server] IP address '20.64.155.174' could not be resolved: Name or service not known
Also, this will be helpful, if you share the rule to trigger the event.