Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-8765

Default audit log retention period

XMLWordPrintable

    • Sprint 106 (Nov 2023)
    • 0.5

      Summary

      Currently Zabbix default installation comes with Audit log with housekeeper enabled with storage period of 365 days by default - Zabbix hot audit log. Timescale partitions are set to 7 days for audit log.

      Typically users do not change default settings and in large installations audit log grows and consumes resources (storage and processing power).

      To minimize resource utilization, default value must be decreased to 31 days.

       

      Zabbix hot audit log default settings should not be set more than general recommendations for audit log retention: 90 days (also Microsoft default retention period is 90d or Google from 30d to 6m).

      Records could be moved from hot audit log to cold audit log outside Zabbix to a long term storage (using API or DB), before housekeeper will remove old records.

       

      Task

      1. Modify Administration -> Audit log screen "Data storage period" field value from "365d" to "31d";
      2. Modify Administration -> Housekeeping screen "History" section  "Data storage period" field value from "90d" to "31d" (to increase consistency with ZBXNEXT-8754).

       

            dpetra Dace Petra
            morinskis Martins Orinskis
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: