Archive

Leafs

class Syslog.Archive

Bases: Entity

Class Hierarchy : Syslog Archive

This class represents configuration data.

Archive attributes configuration

size

The total size of the archive

type: int

range: 1..2047

file_size

The maximum file size for a single log file

type: int

range: 1..2047

device

‘/disk0:’ or ‘/disk1:’ or ‘/harddisk:’

type: str

threshold

The size threshold at which a syslog is generated

type: int

range: 1..99

units: percentage

frequency

The collection interval for logs

type: LogCollectFrequency

severity

The minimum severity of log messages to archive

type: LogMessageSeverity

length

The maximum number of weeks of log to maintain

type: int

range: 1..256