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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod_security - purge concurrent logging automatically?

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

  1. GrandAdmiral

    GrandAdmiral Member

    Joined:
    May 21, 2014
    Messages:
    21
    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,615
    Likes Received:
    51
    Trophy Points:
    203
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    create a cron to clear the we clear it daily
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page