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:
    19
    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,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    create a cron to clear the we clear it daily
     
Loading...

Share This Page