Hello iRule.
You should use an external logging instead of increasing the ASM DB size, because that could impact the system performance.
https://devcentral.f5.com/s/question/0D51T00006i7ggB/changing-the-default-asm-db-log-size-and-the-default-number-of-entries
The reasons are shown next:
https://devcentral.f5.com/s/question/0D51T00006zslVc/asm-event-log-with-local-storage
How to rollback to the legacy ASM v11.6 logging:
https://support.f5.com/csp/article/K16053
https://support.f5.com/csp/article/K10651
Regards
Dario.