{
  "data": [
    {
      "cli": "--audit-log[=value]",
      "default": "ON",
      "id": "option_mysqld_audit-log",
      "name": "audit_log",
      "type": "enumeration",
      "validValues": [
        "ON",
        "OFF",
        "FORCE",
        "FORCE_PLUS_PERMANENT"
      ]
    },
    {
      "cli": "--audit-log-buffer-size=#",
      "default": "1048576",
      "dynamic": false,
      "id": "sysvar_audit_log_buffer_size",
      "name": "audit_log_buffer_size",
      "range": {
        "from": 4096
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--audit-log-compression=value",
      "default": "NONE",
      "dynamic": false,
      "id": "sysvar_audit_log_compression",
      "name": "audit_log_compression",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "NONE",
        "GZIP"
      ]
    },
    {
      "cli": "--audit-log-connection-policy=value",
      "default": "ALL",
      "dynamic": true,
      "id": "sysvar_audit_log_connection_policy",
      "name": "audit_log_connection_policy",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "ALL",
        "ERRORS",
        "NONE"
      ]
    },
    {
      "default": "depends on filtering policy",
      "dynamic": false,
      "id": "sysvar_audit_log_current_session",
      "name": "audit_log_current_session",
      "scope": [
        "global",
        "session"
      ],
      "type": "boolean"
    },
    {
      "cli": "--audit-log-database=value",
      "default": "mysql",
      "dynamic": false,
      "id": "sysvar_audit_log_database",
      "name": "audit_log_database",
      "scope": [
        "global"
      ],
      "type": "string"
    },
    {
      "cli": "--audit-log-disable[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_audit_log_disable",
      "name": "audit_log_disable",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--audit-log-encryption=value",
      "default": "NONE",
      "dynamic": false,
      "id": "sysvar_audit_log_encryption",
      "name": "audit_log_encryption",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "NONE",
        "AES"
      ]
    },
    {
      "cli": "--audit-log-exclude-accounts=value",
      "default": "NULL",
      "dynamic": true,
      "id": "sysvar_audit_log_exclude_accounts",
      "name": "audit_log_exclude_accounts",
      "scope": [
        "global"
      ],
      "type": "string"
    },
    {
      "cli": "--audit-log-file=file_name",
      "default": "audit.log",
      "dynamic": false,
      "id": "sysvar_audit_log_file",
      "name": "audit_log_file",
      "scope": [
        "global"
      ],
      "type": "file name"
    },
    {
      "default": "1",
      "dynamic": false,
      "id": "sysvar_audit_log_filter_id",
      "name": "audit_log_filter_id",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global",
        "session"
      ],
      "type": "integer"
    },
    {
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_audit_log_flush",
      "name": "audit_log_flush",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--audit-log-flush-interval-seconds[=value]",
      "default": "0",
      "dynamic": false,
      "id": "sysvar_audit_log_flush_interval_seconds",
      "name": "audit_log_flush_interval_seconds",
      "scope": [
        "global"
      ]
    },
    {
      "cli": "--audit-log-format=value",
      "default": "NEW",
      "dynamic": false,
      "id": "sysvar_audit_log_format",
      "name": "audit_log_format",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "OLD",
        "NEW",
        "JSON"
      ]
    },
    {
      "cli": "--audit-log-format-unix-timestamp[={OFF|ON}]",
      "default": "OFF",
      "dynamic": true,
      "id": "sysvar_audit_log_format_unix_timestamp",
      "name": "audit_log_format_unix_timestamp",
      "scope": [
        "global"
      ],
      "type": "boolean"
    },
    {
      "cli": "--audit-log-include-accounts=value",
      "default": "NULL",
      "dynamic": true,
      "id": "sysvar_audit_log_include_accounts",
      "name": "audit_log_include_accounts",
      "scope": [
        "global"
      ],
      "type": "string"
    },
    {
      "cli": "--audit-log-max-size=#",
      "default": "0",
      "dynamic": true,
      "id": "sysvar_audit_log_max_size",
      "name": "audit_log_max_size",
      "range": {
        "from": 0
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--audit-log-password-history-keep-days=#",
      "default": "0",
      "dynamic": true,
      "id": "sysvar_audit_log_password_history_keep_days",
      "name": "audit_log_password_history_keep_days",
      "range": {
        "from": 0,
        "to": 4294967295
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--audit-log-policy=value",
      "default": "ALL",
      "dynamic": false,
      "id": "sysvar_audit_log_policy",
      "name": "audit_log_policy",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "ALL",
        "LOGINS",
        "QUERIES",
        "NONE"
      ]
    },
    {
      "cli": "--audit-log-prune-seconds=#",
      "default": "0",
      "dynamic": true,
      "id": "sysvar_audit_log_prune_seconds",
      "name": "audit_log_prune_seconds",
      "range": {
        "from": 0
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--audit-log-read-buffer-size=#",
      "id": "sysvar_audit_log_read_buffer_size",
      "name": "audit_log_read_buffer_size",
      "range": {
        "to": 4194304
      },
      "type": "integer"
    },
    {
      "cli": "--audit-log-rotate-on-size=#",
      "default": "0",
      "dynamic": true,
      "id": "sysvar_audit_log_rotate_on_size",
      "name": "audit_log_rotate_on_size",
      "range": {
        "from": 0,
        "to": 18446744073709551615
      },
      "scope": [
        "global"
      ],
      "type": "integer"
    },
    {
      "cli": "--audit-log-statement-policy=value",
      "default": "ALL",
      "dynamic": true,
      "id": "sysvar_audit_log_statement_policy",
      "name": "audit_log_statement_policy",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "ALL",
        "ERRORS",
        "NONE"
      ]
    },
    {
      "cli": "--audit-log-strategy=value",
      "default": "ASYNCHRONOUS",
      "dynamic": false,
      "id": "sysvar_audit_log_strategy",
      "name": "audit_log_strategy",
      "scope": [
        "global"
      ],
      "type": "enumeration",
      "validValues": [
        "ASYNCHRONOUS",
        "PERFORMANCE",
        "SEMISYNCHRONOUS",
        "SYNCHRONOUS"
      ]
    },
    {
      "id": "statvar_Audit_log_current_size",
      "name": "Audit_log_current_size"
    },
    {
      "id": "statvar_Audit_log_event_max_drop_size",
      "name": "Audit_log_event_max_drop_size"
    },
    {
      "id": "statvar_Audit_log_events",
      "name": "Audit_log_events"
    },
    {
      "id": "statvar_Audit_log_events_filtered",
      "name": "Audit_log_events_filtered"
    },
    {
      "id": "statvar_Audit_log_events_lost",
      "name": "Audit_log_events_lost"
    },
    {
      "id": "statvar_Audit_log_events_written",
      "name": "Audit_log_events_written"
    },
    {
      "id": "statvar_Audit_log_total_size",
      "name": "Audit_log_total_size"
    },
    {
      "id": "statvar_Audit_log_write_waits",
      "name": "Audit_log_write_waits"
    }
  ],
  "name": "audit-log-reference",
  "url": "https://dev.mysql.com/doc/refman/8.0/en/audit-log-reference.html"
}
