Skip to main content
Various data may need to be logged in Apinizer. This data may not be meaningful after a certain period and may cause database growth. It will be beneficial to clean the collections given below at regular intervals.If this operation is desired to be done automatically, the setting for logs to be deleted can be made from this screen. For active records, a task that runs at the beginning of each hour if hour is selected, or at 00:00 each night if day is selected, deletes relevant records before the specified date.
Application Log Cleanup Tasks

Configuration Fields

The fields used for Application Log Cleanup Task configuration are shown in the table below:
FieldDescription
Manager LogsSets how old Manager application software logs that occur during operation will be deleted.
Gateway LogsSets how old Gateway application software logs that occur during operation will be deleted.
Cache LogsSets how old Cache application software logs that occur during operation will be deleted.
Audit RecordsSets how old logs recording changes made by users on the system will be deleted.
ACL Audit RecordsSets how old credential records of users given or revoked access to API Proxy or API Proxy Group will be deleted.
Alert LogsSets how old log records belonging to Alarms created on Apinizer will be deleted.
Token RequestsSets how old records of requests made to get tokens will be deleted.
Anomaly Detector LogsSets how old log records belonging to anomaly detection operations created on Apinizer will be deleted.
Uptime Monitor LogsSets how old log records belonging to uptime monitoring operations created on Apinizer will be deleted.
Task Flow LogsSets how old log records belonging to Task Flow operations created on Apinizer will be deleted.
Report LogsSets how old log records belonging to report operations created on Apinizer will be deleted.
API Proxy Trace LogsSets when log records kept when Trace feature is active in API traffic will be deleted.
API Manager User Token BlacklistSets when log records kept when logging out from API Manager will be deleted.
User NotificationsUser Notifications are kept in the notification_user collection.
Environment(Namespace) MetricsEnvironment(Namespace) Metrics are kept in the environment_metric collection.
Regular operation of log cleanup tasks increases system performance and keeps database size under control.