Module netapp_ontap.models.log

Copyright © 2024 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

Classes

class LogSchema (*, only: types.StrSequenceOrSet | None = None, exclude: types.StrSequenceOrSet = (), many: bool | None = None, context: dict | None = None, load_only: types.StrSequenceOrSet = (), dump_only: types.StrSequenceOrSet = (), partial: bool | types.StrSequenceOrSet | None = None, unknown: str | None = None)

The fields of the Log object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC
  • abc.ABC

Class variables

format: str GET POST PATCH

The format in which the logs are generated by consolidation process. Possible values are:

  • xml - Data ONTAP-specific XML log format
  • evtx - Microsoft Windows EVTX log format

Valid choices:

  • xml
  • evtx

The links field of the log.

retention: LogRetention GET POST PATCH

The retention field of the log.

rotation: Rotation GET POST PATCH

Audit event log files are rotated when they reach a configured threshold log size or are on a configured schedule. When an event log file is rotated, the scheduled consolidation task first renames the active converted file to a time-stamped archive file, and then creates a new active converted event log file.