Application Logs Purge Jobs
In Apinizer, various data may need to be logged. However, this data may lose its significance after a certain period and contribute to the growth of the database. Regularly cleaning the collections listed below can be beneficial.
If you want this process to be done automatically, the settings for logs to be deleted from this screen can be configured. For active records, a task runs either every hour if the hour is selected or every night at 00:00 if the day is selected, and deletes the relevant records from before the specified date.
The picture below shows Application Logs Purge Jobs screen:
The fields used for advanced filtering configuration are shown in the table below.
Field | Description |
---|---|
Manager Logs | The deletion time of software logs generated during the operation of the Manager application can be configured. |
Gateway Logs | The deletion time of software logs generated during the operation of the Gateway application can be configured. |
Cache Logs | The deletion time of software logs generated during the operation of the Cache application can be configured. |
Audit Records | The deletion time of logs recording changes made by users on the system can be configured. |
ACL Audit Records | The deletion time of user credentials records with authorized or revoked access to API Proxy or API Proxy Group is configurable. |
Alert Logs | The deletion time of log records related to Alarms created on Apinizer is configurable. |
Token Requests | The deletion time of records related to requests made to obtain tokens is configurable. |
Anomaly Detector Logs | The deletion time of log records related to anomaly detection processes created on Apinizer is configurable. |
Uptime Monitor Logs | The deletion time of log records related to uptime monitoring processes created on Apinizer is configurable. |
Task Flow Logs | The deletion time of log records related to Task Flow processes created on Apinizer is configurable. |
Report Logs | The deletion time of log records related to report processes created on Apinizer is configurable. |
API Proxy Trace Logs | The deletion time of log records kept when the Trace feature is enabled in API traffic is configurable. |
API Manager User Token Blacklist | When logging out of the API Manager, you can set when the stored log records will be deleted. |
User Notifications | User Notifications are saved in the notification_user collection |
Environment(Namespace) Metrics | Environment Metric are saved in the environment_metric collection |