UnifiedAgentTailLogSource

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

Bases: oci.logging.models.unified_agent_logging_source.UnifiedAgentLoggingSource

Tail log source object.

Attributes

SOURCE_TYPE_CUSTOM_PLUGIN str(object=’’) -> str
SOURCE_TYPE_LOG_TAIL str(object=’’) -> str
SOURCE_TYPE_WINDOWS_EVENT_LOG str(object=’’) -> str
advanced_options Gets the advanced_options of this UnifiedAgentTailLogSource.
name [Required] Gets the name of this UnifiedAgentLoggingSource.
parser Gets the parser of this UnifiedAgentTailLogSource.
paths [Required] Gets the paths of this UnifiedAgentTailLogSource.
source_type [Required] Gets the source_type of this UnifiedAgentLoggingSource.

Methods

__init__(**kwargs) Initializes a new UnifiedAgentTailLogSource 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.
SOURCE_TYPE_CUSTOM_PLUGIN = 'CUSTOM_PLUGIN'
SOURCE_TYPE_LOG_TAIL = 'LOG_TAIL'
SOURCE_TYPE_WINDOWS_EVENT_LOG = 'WINDOWS_EVENT_LOG'
__init__(**kwargs)

Initializes a new UnifiedAgentTailLogSource object with values from keyword arguments. The default value of the source_type attribute of this class is LOG_TAIL 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 UnifiedAgentTailLogSource.
  • source_type (str) – The value to assign to the source_type property of this UnifiedAgentTailLogSource. Allowed values for this property are: “LOG_TAIL”, “WINDOWS_EVENT_LOG”, “CUSTOM_PLUGIN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • paths (list[str]) – The value to assign to the paths property of this UnifiedAgentTailLogSource.
  • parser (oci.logging.models.UnifiedAgentParser) – The value to assign to the parser property of this UnifiedAgentTailLogSource.
  • advanced_options (oci.logging.models.UnifiedAgentTailSourceAdvancedOptions) – The value to assign to the advanced_options property of this UnifiedAgentTailLogSource.
advanced_options

Gets the advanced_options of this UnifiedAgentTailLogSource.

Returns:The advanced_options of this UnifiedAgentTailLogSource.
Return type:oci.logging.models.UnifiedAgentTailSourceAdvancedOptions
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 UnifiedAgentLoggingSource. Unique name for the source.

Returns:The name of this UnifiedAgentLoggingSource.
Return type:str
parser

Gets the parser of this UnifiedAgentTailLogSource.

Returns:The parser of this UnifiedAgentTailLogSource.
Return type:oci.logging.models.UnifiedAgentParser
paths

[Required] Gets the paths of this UnifiedAgentTailLogSource. Absolute paths for log source files. Wildcards can be used.

Returns:The paths of this UnifiedAgentTailLogSource.
Return type:list[str]
source_type

[Required] Gets the source_type of this UnifiedAgentLoggingSource. Unified schema logging source type.

Allowed values for this property are: “LOG_TAIL”, “WINDOWS_EVENT_LOG”, “CUSTOM_PLUGIN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The source_type of this UnifiedAgentLoggingSource.
Return type:str