UnifiedAgentCustomFilter

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

Bases: oci.logging.models.unified_agent_logging_filter.UnifiedAgentLoggingFilter

Logging custom filter plugin.

Attributes

FILTER_TYPE_CUSTOM_FILTER str(object=’’) -> str
FILTER_TYPE_GREP_FILTER str(object=’’) -> str
FILTER_TYPE_PARSER_FILTER str(object=’’) -> str
FILTER_TYPE_RECORD_TRANSFORMER_FILTER str(object=’’) -> str
custom_filter_type [Required] Gets the custom_filter_type of this UnifiedAgentCustomFilter.
custom_sections Gets the custom_sections of this UnifiedAgentCustomFilter.
filter_type [Required] Gets the filter_type of this UnifiedAgentLoggingFilter.
name [Required] Gets the name of this UnifiedAgentLoggingFilter.
params Gets the params of this UnifiedAgentCustomFilter.

Methods

__init__(**kwargs) Initializes a new UnifiedAgentCustomFilter 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'
FILTER_TYPE_GREP_FILTER = 'GREP_FILTER'
FILTER_TYPE_PARSER_FILTER = 'PARSER_FILTER'
FILTER_TYPE_RECORD_TRANSFORMER_FILTER = 'RECORD_TRANSFORMER_FILTER'
__init__(**kwargs)

Initializes a new UnifiedAgentCustomFilter object with values from keyword arguments. The default value of the filter_type attribute of this class is CUSTOM_FILTER and it should not be changed. 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 UnifiedAgentCustomFilter.
  • filter_type (str) – The value to assign to the filter_type property of this UnifiedAgentCustomFilter. Allowed values for this property are: “PARSER_FILTER”, “GREP_FILTER”, “RECORD_TRANSFORMER_FILTER”, “CUSTOM_FILTER”
  • custom_filter_type (str) – The value to assign to the custom_filter_type property of this UnifiedAgentCustomFilter.
  • params (dict(str, str)) – The value to assign to the params property of this UnifiedAgentCustomFilter.
  • custom_sections (list[oci.logging.models.UnifiedAgentCustomSection]) – The value to assign to the custom_sections property of this UnifiedAgentCustomFilter.
custom_filter_type

[Required] Gets the custom_filter_type of this UnifiedAgentCustomFilter. Type of the custom filter

Returns:The custom_filter_type of this UnifiedAgentCustomFilter.
Return type:str
custom_sections

Gets the custom_sections of this UnifiedAgentCustomFilter. List of custom sections in custom filter

Returns:The custom_sections of this UnifiedAgentCustomFilter.
Return type:list[oci.logging.models.UnifiedAgentCustomSection]
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
params

Gets the params of this UnifiedAgentCustomFilter. Parameters of the custom filter

Returns:The params of this UnifiedAgentCustomFilter.
Return type:dict(str, str)