This topic contains 2 replies, has 2 voices, and was last updated by  userIDM.8 3 months, 3 weeks ago.

  • Author
    Posts
  • #25867
     userIDM.8 
    Participant

    Hi,

    How can I clean logs tables on openidm mysql database to reduce the size of it?
    Thanks!

    #25870
     Bill Nelson 
    Participant

    ForgeRock includes the autoPurgeAuditRecon.js script which can be scheduled/used to purge audit data from your repo. This file can be found in the openidm/bin/defaults/script/audit folder.

    You can purge data based on time or based on the past number of events. This file demonstrates how to purge recon data from your logs, but there is no reason why you can’t use it for other log data as well. Just remember to read/know your data retention policies before doing so. ;-)

    #25874
     userIDM.8 
    Participant

    But I want to clean database tables not files .log in audit folder. Can I clean all table with a delete on mysql?Thanks

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

©2019 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?