fabric.switch_event_retention_policy

The switch event retention policy specifies the maximum number of event records to be retained and the maximum number of event records to be deleted in a 30-second period.

ACI class

eventSwRetP

RN

sweretp-{name}

Cursor

SwitchEventRetentionPolicyCursor

Parent

fabric

Atomic

Attributes

Accepted as keyword arguments of .switch_event_retention_policy(name) and of .set(**attrs) on this cursor. Enum parameters also accept the plain string.

parameter

wire

type

values

default

description

name (positional)

name

str

The name of the event retention policy.

description

descr

str

Specifies a description of the policy definition.

maximum_size

maxSize

int

10000

The maximum number of records to be maintained in the switch event log.

owner_key

ownerKey

str

The key for enabling clients to own their data for entity correlation.

owner_tag

ownerTag

str

A tag for enabling clients to add their own data. For example, to indicate who created this object.

purge_window_size

purgeWin

int

250

The maximum number of records to be deleted in a 30-second period. The number of records should be chosen to avoid spikes in I/O and CPU utilization.