Within T6, we store system logs in the database. To reduce the space allocated to them and facilitate visualization, we have the Record Retention parameter, which allows us to select the number of months of logs to be stored in the REP_LOG_SECURITY_TRAIL
table in the database. The logs stored in the table are related to login, logout, permission changes, system changes, creation, modification, and deletion of explorer objects.
The prerequisite for changing the record retention period is having a user with the Manage system parameters and configurations administrator feature enabled.
To use Record Retention, we will follow these steps:
By default, the Record Retention parameter is blank, meaning all generated logs will be stored in the database. Once the parameter field is filled, all stored logs outside the specified retention period will be permanently deleted.
To apply the changes, we will need to call the API;
The API can be called in two ways:
qablue.tech6cloud.com/api/log/DeleteLogRetention
; (in this case, qablue is your domain name.)(IIS server)/(application name in IIS)/api/log/DeleteLogRetention
The URL preceding the API will depend on your cloud domain, or, in the case of a local environment, on the configurations provided in your IIS (Internet Information Services).