GrepFilterDenyRule

class oci.logging.models.GrepFilterDenyRule(**kwargs)

Bases: object

Specifies the filtering rule to reject logs

Methods

__init__(**kwargs) Initializes a new GrepFilterDenyRule object with values from keyword arguments.

Attributes

key Gets the key of this GrepFilterDenyRule.
pattern Gets the pattern of this GrepFilterDenyRule.
__init__(**kwargs)

Initializes a new GrepFilterDenyRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key (str) – The value to assign to the key property of this GrepFilterDenyRule.
  • pattern (str) – The value to assign to the pattern property of this GrepFilterDenyRule.
key

Gets the key of this GrepFilterDenyRule. The field name to which the regular expression is applied

Returns:The key of this GrepFilterDenyRule.
Return type:str
pattern

Gets the pattern of this GrepFilterDenyRule. The regular expression

Returns:The pattern of this GrepFilterDenyRule.
Return type:str