LogAnalyticsSource

class oci.log_analytics.models.LogAnalyticsSource(**kwargs)

Bases: object

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a LogAnalyticsSource.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a LogAnalyticsSource.

association_count

Gets the association_count of this LogAnalyticsSource.

association_entity

Gets the association_entity of this LogAnalyticsSource.

categories

Gets the categories of this LogAnalyticsSource.

data_filter_definitions

Gets the data_filter_definitions of this LogAnalyticsSource.

database_credential

Gets the database_credential of this LogAnalyticsSource.

description

Gets the description of this LogAnalyticsSource.

display_name

Gets the display_name of this LogAnalyticsSource.

edit_version

Gets the edit_version of this LogAnalyticsSource.

endpoints

Gets the endpoints of this LogAnalyticsSource.

entity_types

Gets the entity_types of this LogAnalyticsSource.

event_types

Gets the event_types of this LogAnalyticsSource.

extended_field_definitions

Gets the extended_field_definitions of this LogAnalyticsSource.

functions

Gets the functions of this LogAnalyticsSource.

is_auto_association_enabled

Gets the is_auto_association_enabled of this LogAnalyticsSource.

is_auto_association_override

Gets the is_auto_association_override of this LogAnalyticsSource.

is_for_cloud

Gets the is_for_cloud of this LogAnalyticsSource.

is_secure_content

Gets the is_secure_content of this LogAnalyticsSource.

is_system

Gets the is_system of this LogAnalyticsSource.

is_timezone_override

Gets the is_timezone_override of this LogAnalyticsSource.

label_conditions

Gets the label_conditions of this LogAnalyticsSource.

label_definitions

Gets the label_definitions of this LogAnalyticsSource.

labels

Gets the labels of this LogAnalyticsSource.

lifecycle_state

Gets the lifecycle_state of this LogAnalyticsSource.

metadata_fields

Gets the metadata_fields of this LogAnalyticsSource.

metric_definitions

Gets the metric_definitions of this LogAnalyticsSource.

metrics

Gets the metrics of this LogAnalyticsSource.

name

Gets the name of this LogAnalyticsSource.

oob_parsers

Gets the oob_parsers of this LogAnalyticsSource.

parameters

Gets the parameters of this LogAnalyticsSource.

parsers

Gets the parsers of this LogAnalyticsSource.

pattern_count

Gets the pattern_count of this LogAnalyticsSource.

patterns

Gets the patterns of this LogAnalyticsSource.

rule_id

Gets the rule_id of this LogAnalyticsSource.

source_id

Gets the source_id of this LogAnalyticsSource.

source_properties

Gets the source_properties of this LogAnalyticsSource.

time_updated

Gets the time_updated of this LogAnalyticsSource.

type_display_name

Gets the type_display_name of this LogAnalyticsSource.

type_name

Gets the type_name of this LogAnalyticsSource.

user_parsers

Gets the user_parsers of this LogAnalyticsSource.

warning_config

Gets the warning_config of this LogAnalyticsSource.

Methods:

__init__(**kwargs)

Initializes a new LogAnalyticsSource object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a LogAnalyticsSource. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a LogAnalyticsSource. This constant has a value of “DELETED”

__init__(**kwargs)

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

Parameters
  • label_conditions (list[oci.log_analytics.models.LogAnalyticsSourceLabelCondition]) – The value to assign to the label_conditions property of this LogAnalyticsSource.

  • association_count (int) – The value to assign to the association_count property of this LogAnalyticsSource.

  • association_entity (list[oci.log_analytics.models.LogAnalyticsAssociation]) – The value to assign to the association_entity property of this LogAnalyticsSource.

  • data_filter_definitions (list[oci.log_analytics.models.LogAnalyticsSourceDataFilter]) – The value to assign to the data_filter_definitions property of this LogAnalyticsSource.

  • database_credential (str) – The value to assign to the database_credential property of this LogAnalyticsSource.

  • extended_field_definitions (list[oci.log_analytics.models.LogAnalyticsSourceExtendedFieldDefinition]) – The value to assign to the extended_field_definitions property of this LogAnalyticsSource.

  • is_for_cloud (bool) – The value to assign to the is_for_cloud property of this LogAnalyticsSource.

  • labels (list[oci.log_analytics.models.LogAnalyticsLabelView]) – The value to assign to the labels property of this LogAnalyticsSource.

  • metric_definitions (list[oci.log_analytics.models.LogAnalyticsMetric]) – The value to assign to the metric_definitions property of this LogAnalyticsSource.

  • metrics (list[oci.log_analytics.models.LogAnalyticsSourceMetric]) – The value to assign to the metrics property of this LogAnalyticsSource.

  • oob_parsers (list[oci.log_analytics.models.LogAnalyticsParser]) – The value to assign to the oob_parsers property of this LogAnalyticsSource.

  • parameters (list[oci.log_analytics.models.LogAnalyticsParameter]) – The value to assign to the parameters property of this LogAnalyticsSource.

  • pattern_count (int) – The value to assign to the pattern_count property of this LogAnalyticsSource.

  • patterns (list[oci.log_analytics.models.LogAnalyticsSourcePattern]) – The value to assign to the patterns property of this LogAnalyticsSource.

  • description (str) – The value to assign to the description property of this LogAnalyticsSource.

  • display_name (str) – The value to assign to the display_name property of this LogAnalyticsSource.

  • edit_version (int) – The value to assign to the edit_version property of this LogAnalyticsSource.

  • functions (list[oci.log_analytics.models.LogAnalyticsSourceFunction]) – The value to assign to the functions property of this LogAnalyticsSource.

  • source_id (int) – The value to assign to the source_id property of this LogAnalyticsSource.

  • name (str) – The value to assign to the name property of this LogAnalyticsSource.

  • is_secure_content (bool) – The value to assign to the is_secure_content property of this LogAnalyticsSource.

  • is_system (bool) – The value to assign to the is_system property of this LogAnalyticsSource.

  • parsers (list[oci.log_analytics.models.LogAnalyticsParser]) – The value to assign to the parsers property of this LogAnalyticsSource.

  • is_auto_association_enabled (bool) – The value to assign to the is_auto_association_enabled property of this LogAnalyticsSource.

  • is_auto_association_override (bool) – The value to assign to the is_auto_association_override property of this LogAnalyticsSource.

  • rule_id (int) – The value to assign to the rule_id property of this LogAnalyticsSource.

  • type_name (str) – The value to assign to the type_name property of this LogAnalyticsSource.

  • type_display_name (str) – The value to assign to the type_display_name property of this LogAnalyticsSource.

  • warning_config (int) – The value to assign to the warning_config property of this LogAnalyticsSource.

  • metadata_fields (list[oci.log_analytics.models.LogAnalyticsSourceMetadataField]) – The value to assign to the metadata_fields property of this LogAnalyticsSource.

  • label_definitions (list[oci.log_analytics.models.LogAnalyticsLabelDefinition]) – The value to assign to the label_definitions property of this LogAnalyticsSource.

  • entity_types (list[oci.log_analytics.models.LogAnalyticsSourceEntityType]) – The value to assign to the entity_types property of this LogAnalyticsSource.

  • is_timezone_override (bool) – The value to assign to the is_timezone_override property of this LogAnalyticsSource.

  • user_parsers (list[oci.log_analytics.models.LogAnalyticsParser]) – The value to assign to the user_parsers property of this LogAnalyticsSource.

  • time_updated (datetime) – The value to assign to the time_updated property of this LogAnalyticsSource.

  • event_types (list[oci.log_analytics.models.EventType]) – The value to assign to the event_types property of this LogAnalyticsSource.

  • categories (list[oci.log_analytics.models.LogAnalyticsCategory]) – The value to assign to the categories property of this LogAnalyticsSource.

  • endpoints (list[oci.log_analytics.models.LogAnalyticsEndpoint]) – The value to assign to the endpoints property of this LogAnalyticsSource.

  • source_properties (list[oci.log_analytics.models.LogAnalyticsProperty]) – The value to assign to the source_properties property of this LogAnalyticsSource.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this LogAnalyticsSource. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property association_count

Gets the association_count of this LogAnalyticsSource. The association count.

Returns

The association_count of this LogAnalyticsSource.

Return type

int

property association_entity

Gets the association_entity of this LogAnalyticsSource. The association entities.

Returns

The association_entity of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsAssociation]

property categories

Gets the categories of this LogAnalyticsSource. An array of categories assigned to this source. The isSystem flag denotes if each category assignment is user-created or Oracle-defined.

Returns

The categories of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsCategory]

property data_filter_definitions

Gets the data_filter_definitions of this LogAnalyticsSource. The data filter definitions.

Returns

The data_filter_definitions of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceDataFilter]

property database_credential

Gets the database_credential of this LogAnalyticsSource. The database credential.

Returns

The database_credential of this LogAnalyticsSource.

Return type

str

property description

Gets the description of this LogAnalyticsSource. The source description.

Returns

The description of this LogAnalyticsSource.

Return type

str

property display_name

Gets the display_name of this LogAnalyticsSource. The source display name.

Returns

The display_name of this LogAnalyticsSource.

Return type

str

property edit_version

Gets the edit_version of this LogAnalyticsSource. The source edit version.

Returns

The edit_version of this LogAnalyticsSource.

Return type

int

property endpoints

Gets the endpoints of this LogAnalyticsSource. An array of REST API endpoints for log collection.

Returns

The endpoints of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsEndpoint]

property entity_types

Gets the entity_types of this LogAnalyticsSource. The entity types.

Returns

The entity_types of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceEntityType]

property event_types

Gets the event_types of this LogAnalyticsSource. An array of event types.

Returns

The event_types of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.EventType]

property extended_field_definitions

Gets the extended_field_definitions of this LogAnalyticsSource. The extended field definitions.

Returns

The extended_field_definitions of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceExtendedFieldDefinition]

property functions

Gets the functions of this LogAnalyticsSource. The source functions.

Returns

The functions of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceFunction]

property is_auto_association_enabled

Gets the is_auto_association_enabled of this LogAnalyticsSource. A flag indicating whether or not the source is marked for auto-association.

Returns

The is_auto_association_enabled of this LogAnalyticsSource.

Return type

bool

property is_auto_association_override

Gets the is_auto_association_override of this LogAnalyticsSource. A flag indicating whether or not the auto-association state should be overridden.

Returns

The is_auto_association_override of this LogAnalyticsSource.

Return type

bool

property is_for_cloud

Gets the is_for_cloud of this LogAnalyticsSource. A flag indicating whether or not this is a cloud source.

Returns

The is_for_cloud of this LogAnalyticsSource.

Return type

bool

property is_secure_content

Gets the is_secure_content of this LogAnalyticsSource. A flag indicating whether or not the source content is secure.

Returns

The is_secure_content of this LogAnalyticsSource.

Return type

bool

property is_system

Gets the is_system of this LogAnalyticsSource. The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.

Returns

The is_system of this LogAnalyticsSource.

Return type

bool

property is_timezone_override

Gets the is_timezone_override of this LogAnalyticsSource. A flag indicating whether or not the source has a time zone override.

Returns

The is_timezone_override of this LogAnalyticsSource.

Return type

bool

property label_conditions

Gets the label_conditions of this LogAnalyticsSource. The label alert conditions.

Returns

The label_conditions of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceLabelCondition]

property label_definitions

Gets the label_definitions of this LogAnalyticsSource. The labels used by the source.

Returns

The label_definitions of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsLabelDefinition]

property labels

Gets the labels of this LogAnalyticsSource. The labels associated with the source.

Returns

The labels of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsLabelView]

property lifecycle_state

Gets the lifecycle_state of this LogAnalyticsSource. The current state of the Log Analytics source.

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

Returns

The lifecycle_state of this LogAnalyticsSource.

Return type

str

property metadata_fields

Gets the metadata_fields of this LogAnalyticsSource. The source metadata fields.

Returns

The metadata_fields of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceMetadataField]

property metric_definitions

Gets the metric_definitions of this LogAnalyticsSource. The metric definitions.

Returns

The metric_definitions of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsMetric]

property metrics

Gets the metrics of this LogAnalyticsSource. The metric source map.

Returns

The metrics of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceMetric]

property name

Gets the name of this LogAnalyticsSource. The source internal name.

Returns

The name of this LogAnalyticsSource.

Return type

str

property oob_parsers

Gets the oob_parsers of this LogAnalyticsSource. The built in parsers associated with source.

Returns

The oob_parsers of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsParser]

property parameters

Gets the parameters of this LogAnalyticsSource. The source parameters.

Returns

The parameters of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsParameter]

property parsers

Gets the parsers of this LogAnalyticsSource. The list of parsers used by the source.

Returns

The parsers of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsParser]

property pattern_count

Gets the pattern_count of this LogAnalyticsSource. The pattern count.

Returns

The pattern_count of this LogAnalyticsSource.

Return type

int

property patterns

Gets the patterns of this LogAnalyticsSource. The source patterns.

Returns

The patterns of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsSourcePattern]

property rule_id

Gets the rule_id of this LogAnalyticsSource. The rule unique identifier.

Returns

The rule_id of this LogAnalyticsSource.

Return type

int

property source_id

Gets the source_id of this LogAnalyticsSource. The source unique identifier.

Returns

The source_id of this LogAnalyticsSource.

Return type

int

property source_properties

Gets the source_properties of this LogAnalyticsSource. A list of source properties.

Returns

The source_properties of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsProperty]

property time_updated

Gets the time_updated of this LogAnalyticsSource. The last updated date.

Returns

The time_updated of this LogAnalyticsSource.

Return type

datetime

property type_display_name

Gets the type_display_name of this LogAnalyticsSource. The source type name.

Returns

The type_display_name of this LogAnalyticsSource.

Return type

str

property type_name

Gets the type_name of this LogAnalyticsSource. The source type internal name.

Returns

The type_name of this LogAnalyticsSource.

Return type

str

property user_parsers

Gets the user_parsers of this LogAnalyticsSource. An array of custom parsers.

Returns

The user_parsers of this LogAnalyticsSource.

Return type

list[oci.log_analytics.models.LogAnalyticsParser]

property warning_config

Gets the warning_config of this LogAnalyticsSource. The source warning configuration.

Returns

The warning_config of this LogAnalyticsSource.

Return type

int