# Expand Size Database Mysql ASM

**URL:** <https://community.f5.com/t/expand-size-database-mysql-asm/5437>\
**Category:** Technical Forums\
**Tags:** asm-advanced-waf, mysql, waf, security, database\
**Created:** [October 22, 2014, 1:58pm UTC](https://community.f5.com/t/expand-size-database-mysql-asm/5437 "2014-10-22T13:58:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeonardoF5\_1747](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@LeonardoF5\_1747](https://community.f5.com/u/LeonardoF5_1747)\
**Post date:** [October 22, 2014, 1:58pm UTC](https://community.f5.com/t/expand-size-database-mysql-asm/5437/1 "2014-10-22T13:58:46Z")

</div>

Hi guys,

I have a problem with the database space in ASM . I can not currently store more than 7 days of logs , anyone know expandar the size of the database or save more than 7 days of logs to ASM ?

Thanks!

---

<div class="post-metadata">

**Author:** ![Tikka\_Nagi\_1315](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@Tikka\_Nagi\_1315](https://community.f5.com/u/Tikka_Nagi_1315)\
**Post date:** [June 14, 2016, 10:35pm UTC](https://community.f5.com/t/expand-size-database-mysql-asm/5437/2 "2016-06-14T22:35:16Z")

</div>

All the ASM event logs are stored in a mysql DB that is limited to 3 million rows or 2 gigs whichever comes first. Modifying the size of the DB is not recommended. The recommended method is to syslog the logs off the ASM box to a syslog server.

Below are the documents you need to setup high speed logging and custom logging profiles:

External Monitoring of BIG-IP® Systems:Implementations [404 Page not found | BIG-IP Documentation](http://support.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/bigip-external-monitoring-implementations-11-5-0.pdf?sr=38219694)
