UnifiedAgentLoggingFilter

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

Bases: object

Logging filter object.

Attributes

FILTER_TYPE_CUSTOM_FILTER A constant which can be used with the filter_type property of a UnifiedAgentLoggingFilter.
FILTER_TYPE_GREP_FILTER A constant which can be used with the filter_type property of a UnifiedAgentLoggingFilter.
FILTER_TYPE_PARSER_FILTER A constant which can be used with the filter_type property of a UnifiedAgentLoggingFilter.
FILTER_TYPE_RECORD_TRANSFORMER_FILTER A constant which can be used with the filter_type property of a UnifiedAgentLoggingFilter.
filter_type [Required] Gets the filter_type of this UnifiedAgentLoggingFilter.
name [Required] Gets the name of this UnifiedAgentLoggingFilter.

Methods

__init__(**kwargs) Initializes a new UnifiedAgentLoggingFilter object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
FILTER_TYPE_CUSTOM_FILTER = 'CUSTOM_FILTER'

A constant which can be used with the filter_type property of a UnifiedAgentLoggingFilter. This constant has a value of “CUSTOM_FILTER”

FILTER_TYPE_GREP_FILTER = 'GREP_FILTER'

A constant which can be used with the filter_type property of a UnifiedAgentLoggingFilter. This constant has a value of “GREP_FILTER”

FILTER_TYPE_PARSER_FILTER = 'PARSER_FILTER'

A constant which can be used with the filter_type property of a UnifiedAgentLoggingFilter. This constant has a value of “PARSER_FILTER”

FILTER_TYPE_RECORD_TRANSFORMER_FILTER = 'RECORD_TRANSFORMER_FILTER'

A constant which can be used with the filter_type property of a UnifiedAgentLoggingFilter. This constant has a value of “RECORD_TRANSFORMER_FILTER”

__init__(**kwargs)

Initializes a new UnifiedAgentLoggingFilter object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this UnifiedAgentLoggingFilter.
  • filter_type (str) – The value to assign to the filter_type property of this UnifiedAgentLoggingFilter. Allowed values for this property are: “PARSER_FILTER”, “GREP_FILTER”, “RECORD_TRANSFORMER_FILTER”, “CUSTOM_FILTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
filter_type

[Required] Gets the filter_type of this UnifiedAgentLoggingFilter. Unified schema logging filter type.

Allowed values for this property are: “PARSER_FILTER”, “GREP_FILTER”, “RECORD_TRANSFORMER_FILTER”, “CUSTOM_FILTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The filter_type of this UnifiedAgentLoggingFilter.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

name

[Required] Gets the name of this UnifiedAgentLoggingFilter. Unique name for the filter.

Returns:The name of this UnifiedAgentLoggingFilter.
Return type:str