Class RouterNatLogConfig (1.8.0)

RouterNatLogConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration of logging on a NAT.

Attributes

NameDescription
enable bool
Indicates whether or not to export logs. This is false by default. This field is a member of oneof_ _enable.
filter str
Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. Check the Filter enum for the list of possible values. This field is a member of oneof_ _filter.

Classes

Filter

Filter(value)

Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful.