Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mod_security - purge concurrent logging automatically?

Discussion in 'Security' started by GrandAdmiral, Apr 17, 2015.

  1. GrandAdmiral

    GrandAdmiral Active Member

    Joined:
    May 21, 2014
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi

    We currently use mod_ruid2 + mod_security, a few days ago I had a customer query the amount of space their cPanel account was reported to be consuming. Almost half of their usage was listed in "Other Usage", upon investigation I found that their mod_security logging directory was filled with logs from more than 2 months ago.

    How long should audit logs be kept and is their an automated way of clearing them once they're outside this time period?
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,727
    Likes Received:
    74
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    create a cron to clear the we clear it daily
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,755
    Likes Received:
    1,886
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice