# This is an automatically generated code sample.
# To make this code sample work in your Oracle Cloud tenancy,
# please replace the values for any parameters whose current values do not fit
# your use case (such as resource IDs, strings containing ‘EXAMPLE’ or ‘unique_id’, and
# boolean, number, and enum parameters with values not fitting your use case).
from datetime import datetime
import oci
# Create a default config using DEFAULT profile in default location
# Refer to
# https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File
# for more info
config = oci.config.from_file()
# Initialize service client with default config file
log_analytics_client = oci.log_analytics.LogAnalyticsClient(config)
# Send the request to service, some parameters are not required, see API
# doc for more info
validate_source_extended_field_details_response = log_analytics_client.validate_source_extended_field_details(
namespace_name="EXAMPLE-namespaceName-Value",
log_analytics_source=oci.log_analytics.models.LogAnalyticsSource(
label_conditions=[
oci.log_analytics.models.LogAnalyticsSourceLabelCondition(
condition_string="EXAMPLE-conditionString-Value",
condition_block=oci.log_analytics.models.ConditionBlock(
condition_blocks_operator="NOT_AND",
field_name="EXAMPLE-fieldName-Value",
label_condition_operator="EXAMPLE-labelConditionOperator-Value",
label_condition_value="EXAMPLE-labelConditionValue-Value",
label_condition_values=["EXAMPLE--Value"]),
message="EXAMPLE-message-Value",
is_visible=False,
block_condition_field="EXAMPLE-blockConditionField-Value",
block_condition_operator="EXAMPLE-blockConditionOperator-Value",
block_condition_value="EXAMPLE-blockConditionValue-Value",
label_condition_value="EXAMPLE-labelConditionValue-Value",
label_condition_values=["EXAMPLE--Value"],
content_example="EXAMPLE-contentExample-Value",
is_enabled=True,
field_name="EXAMPLE-fieldName-Value",
label_condition_id=879,
is_system=True,
label_condition_operator="EXAMPLE-labelConditionOperator-Value",
source_id=545,
label_display_name="EXAMPLE-labelDisplayName-Value",
storage_field="EXAMPLE-storageField-Value",
label_name="EXAMPLE-labelName-Value",
is_inline_label_existing_in_database=True)],
association_count=613,
association_entity=[
oci.log_analytics.models.LogAnalyticsAssociation(
failure_message="EXAMPLE-failureMessage-Value",
agent_id="ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value",
time_last_attempted=datetime.strptime(
"2044-03-01T04:19:42.576Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
retry_count=616,
source_name="EXAMPLE-sourceName-Value",
source_display_name="EXAMPLE-sourceDisplayName-Value",
source_type_name="EXAMPLE-sourceTypeName-Value",
life_cycle_state="IN_PROGRESS",
entity_id="ocid1.test.oc1..<unique_ID>EXAMPLE-entityId-Value",
entity_name="EXAMPLE-entityName-Value",
entity_type_name="EXAMPLE-entityTypeName-Value",
host="EXAMPLE-host-Value",
agent_entity_name="EXAMPLE-agentEntityName-Value",
entity_type_display_name="EXAMPLE-entityTypeDisplayName-Value",
log_group_id="ocid1.test.oc1..<unique_ID>EXAMPLE-logGroupId-Value",
log_group_name="EXAMPLE-logGroupName-Value",
log_group_compartment="EXAMPLE-logGroupCompartment-Value",
association_properties=[
oci.log_analytics.models.AssociationProperty(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value",
patterns=[
oci.log_analytics.models.PatternOverride(
id="ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
value="EXAMPLE-value-Value",
effective_level="EXAMPLE-effectiveLevel-Value")])])],
data_filter_definitions=[
oci.log_analytics.models.LogAnalyticsSourceDataFilter(
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=785,
is_enabled=True,
field_name="EXAMPLE-fieldName-Value",
hash_type=381,
data_filter_id=941,
is_system=True,
match_regular_expression="EXAMPLE-matchRegularExpression-Value",
order=730,
path="EXAMPLE-path-Value",
replacement_string="EXAMPLE-replacementString-Value",
source_id=394,
filter_type="DROP_STRING")],
database_credential="EXAMPLE-databaseCredential-Value",
extended_field_definitions=[
oci.log_analytics.models.LogAnalyticsSourceExtendedFieldDefinition(
field=oci.log_analytics.models.LogAnalyticsField(
cee_alias="EXAMPLE-ceeAlias-Value",
data_type="EXAMPLE-dataType-Value",
regular_expression="EXAMPLE-regularExpression-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=670,
facet_priority=983,
name="EXAMPLE-name-Value",
is_facet_eligible=True,
is_high_cardinality=True,
is_large_data=False,
is_multi_valued=False,
is_primary=False,
is_system=True,
is_summarizable=False,
mapped_value="EXAMPLE-mappedValue-Value",
is_metric_key_eligible=True,
is_metric_value_eligible=False,
range_facet_eligible=525,
is_table_eligible=False,
unit_type="EXAMPLE-unitType-Value",
time_updated=datetime.strptime(
"2006-01-01T00:45:43.813Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
is_keep_duplicates=True),
display_regular_expression="EXAMPLE-displayRegularExpression-Value",
extended_fields=[
oci.log_analytics.models.LogAnalyticsExtendedField(
field=oci.log_analytics.models.LogAnalyticsField(
cee_alias="EXAMPLE-ceeAlias-Value",
data_type="EXAMPLE-dataType-Value",
regular_expression="EXAMPLE-regularExpression-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=575,
facet_priority=670,
name="EXAMPLE-name-Value",
is_facet_eligible=True,
is_high_cardinality=False,
is_large_data=False,
is_multi_valued=False,
is_primary=True,
is_system=True,
is_summarizable=True,
mapped_value="EXAMPLE-mappedValue-Value",
is_metric_key_eligible=True,
is_metric_value_eligible=True,
range_facet_eligible=616,
is_table_eligible=False,
unit_type="EXAMPLE-unitType-Value",
time_updated=datetime.strptime(
"2029-02-03T02:42:43.952Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
is_keep_duplicates=False),
extended_field_definition_id=89,
field_name="EXAMPLE-fieldName-Value",
field_display_name="EXAMPLE-fieldDisplayName-Value",
saved_regular_expression_name="EXAMPLE-savedRegularExpressionName-Value",
extended_field_id=954)],
base_field_name="EXAMPLE-baseFieldName-Value",
base_field_log_text="EXAMPLE-baseFieldLogText-Value",
condition_data_type="EXAMPLE-conditionDataType-Value",
condition_field="EXAMPLE-conditionField-Value",
condition_operator="EXAMPLE-conditionOperator-Value",
condition_value="EXAMPLE-conditionValue-Value",
converted_regular_expression="EXAMPLE-convertedRegularExpression-Value",
is_enabled=True,
extended_field_definition_id=756,
is_system=False,
regular_expression="EXAMPLE-regularExpression-Value",
source_id=244,
time_updated=datetime.strptime(
"2025-08-23T17:56:16.576Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
condition_string="EXAMPLE-conditionString-Value",
condition_block=oci.log_analytics.models.GenericConditionBlock(
condition_blocks_operator="AND",
name="EXAMPLE-name-Value",
operator="EXAMPLE-operator-Value",
value="EXAMPLE-value-Value",
values=["EXAMPLE--Value"]))],
is_for_cloud=False,
labels=[
oci.log_analytics.models.LogAnalyticsLabelView(
aliases=[
oci.log_analytics.models.LogAnalyticsLabelAlias(
alias="EXAMPLE-alias-Value",
alias_display_name="EXAMPLE-aliasDisplayName-Value",
is_system=False,
display_name="EXAMPLE-displayName-Value",
name="EXAMPLE-name-Value",
priority="LOW")],
count_usage_in_alert_rule=345,
count_usage_in_source=780,
id="EXAMPLE-id-Value",
suggest_type=830,
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=427,
impact="EXAMPLE-impact-Value",
is_system=False,
name="EXAMPLE-name-Value",
priority="LOW",
recommendation="EXAMPLE-recommendation-Value",
type=284,
is_user_deleted=False)],
metric_definitions=[
oci.log_analytics.models.LogAnalyticsMetric(
aggregation_field="EXAMPLE-aggregationField-Value",
bucket_metadata="EXAMPLE-bucketMetadata-Value",
clock_period="EXAMPLE-clockPeriod-Value",
description="EXAMPLE-description-Value",
edit_version=81,
field_name="EXAMPLE-fieldName-Value",
field_values=["EXAMPLE--Value"],
grouping_field="EXAMPLE-groupingField-Value",
is_enabled=False,
is_system=False,
display_name="EXAMPLE-displayName-Value",
metric_reference=806,
name="EXAMPLE-name-Value",
metric_type="COUNT_DISTRIBUTION",
is_metric_source_enabled=True,
operator="CONTAINS_IGNORE_CASE",
entity_type="EXAMPLE-entityType-Value",
time_updated=datetime.strptime(
"2000-09-28T01:34:39.947Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
unit_type="EXAMPLE-unitType-Value",
is_user_customized=False)],
metrics=[
oci.log_analytics.models.LogAnalyticsSourceMetric(
is_metric_source_enabled=True,
metric_name="EXAMPLE-metricName-Value",
source_name="EXAMPLE-sourceName-Value",
entity_type="EXAMPLE-entityType-Value")],
oob_parsers=[
oci.log_analytics.models.LogAnalyticsParser(
content="EXAMPLE-content-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=100,
encoding="EXAMPLE-encoding-Value",
example_content="EXAMPLE-exampleContent-Value",
field_maps=[
oci.log_analytics.models.LogAnalyticsParserField(
field=oci.log_analytics.models.LogAnalyticsField(
cee_alias="EXAMPLE-ceeAlias-Value",
data_type="EXAMPLE-dataType-Value",
regular_expression="EXAMPLE-regularExpression-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=727,
facet_priority=312,
name="EXAMPLE-name-Value",
is_facet_eligible=False,
is_high_cardinality=True,
is_large_data=False,
is_multi_valued=False,
is_primary=False,
is_system=False,
is_summarizable=True,
mapped_value="EXAMPLE-mappedValue-Value",
is_metric_key_eligible=False,
is_metric_value_eligible=True,
range_facet_eligible=198,
is_table_eligible=True,
unit_type="EXAMPLE-unitType-Value",
time_updated=datetime.strptime(
"2006-03-19T08:01:47.511Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
is_keep_duplicates=False),
parser_field_id=469,
parser_field_expression="EXAMPLE-parserFieldExpression-Value",
parser_field_name="EXAMPLE-parserFieldName-Value",
storage_field_name="EXAMPLE-storageFieldName-Value",
parser_field_integrator_name="EXAMPLE-parserFieldIntegratorName-Value",
parser_name="EXAMPLE-parserName-Value",
parser_field_sequence=326,
structured_column_info="EXAMPLE-structuredColumnInfo-Value",
actions=[
oci.log_analytics.models.ParserAction(
name="EXAMPLE-name-Value",
order=157)])],
footer_content="EXAMPLE-footerContent-Value",
header_content="EXAMPLE-headerContent-Value",
name="EXAMPLE-name-Value",
is_default=True,
is_single_line_content=False,
is_system=True,
language="EXAMPLE-language-Value",
time_updated=datetime.strptime(
"2020-06-12T22:55:12.303Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
log_type_test_request_version=421,
parser_ignoreline_characters="EXAMPLE-parserIgnorelineCharacters-Value",
is_hidden=False,
parser_sequence=188,
parser_timezone="EXAMPLE-parserTimezone-Value",
parser_filter=oci.log_analytics.models.LogAnalyticsParserFilter(
id="ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
agent_version="EXAMPLE-agentVersion-Value",
is_in_use=537,
operating_system="EXAMPLE-operatingSystem-Value",
parser_id=981,
version="EXAMPLE-version-Value"),
is_parser_written_once=False,
parser_functions=[
oci.log_analytics.models.LogAnalyticsParserFunction(
parser_meta_plugin=oci.log_analytics.models.LogAnalyticsParserMetaPlugin(
meta_plugin_parameters=[
oci.log_analytics.models.LogAnalyticsParserMetaPluginParameter(
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_mandatory=False,
is_repeatable=False,
plugin_name="EXAMPLE-pluginName-Value",
type="EXAMPLE-type-Value")],
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
name="EXAMPLE-name-Value"),
parser_function_id=116,
parser_function_name="EXAMPLE-parserFunctionName-Value",
is_enabled=True,
is_system=False,
parser_id=370,
parser_name="EXAMPLE-parserName-Value",
parser_meta_plugin_name="EXAMPLE-parserMetaPluginName-Value",
parser_function_priority=966,
parser_function_parameters=[
oci.log_analytics.models.LogAnalyticsParserFunctionParameter(
parser_function_id=755,
parser_function_parameter_name="EXAMPLE-parserFunctionParameterName-Value",
parser_function_parameter_id=76,
parser_meta_plugin_parameter_name="EXAMPLE-parserMetaPluginParameterName-Value",
parser_meta_plugin_parameter_value="EXAMPLE-parserMetaPluginParameterValue-Value",
parser_name="EXAMPLE-parserName-Value",
parser_meta_plugin_parameter=oci.log_analytics.models.LogAnalyticsParserMetaPluginParameter(
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_mandatory=False,
is_repeatable=True,
plugin_name="EXAMPLE-pluginName-Value",
type="EXAMPLE-type-Value"))])],
sources_count=212,
should_tokenize_original_text=True,
field_delimiter="EXAMPLE-fieldDelimiter-Value",
field_qualifier="EXAMPLE-fieldQualifier-Value",
type="JSON",
is_user_deleted=False,
is_namespace_aware=True,
categories=[
oci.log_analytics.models.LogAnalyticsCategory(
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
type="EXAMPLE-type-Value",
is_system=True)],
is_position_aware=True,
dependent_sources=[
oci.log_analytics.models.DependentSource(
source_name="EXAMPLE-sourceName-Value",
source_display_name="EXAMPLE-sourceDisplayName-Value",
source_id=862,
source_type="EXAMPLE-sourceType-Value",
is_system=False,
is_auto_association_enabled=False,
entity_types=[
oci.log_analytics.models.LogAnalyticsSourceEntityType(
source_id=103,
entity_type="EXAMPLE-entityType-Value",
entity_type_category="EXAMPLE-entityTypeCategory-Value",
entity_type_display_name="EXAMPLE-entityTypeDisplayName-Value")],
dependencies=[
oci.log_analytics.models.Dependency(
type="EXAMPLE-type-Value",
reference_type="EXAMPLE-referenceType-Value",
reference_id=15,
reference_name="EXAMPLE-referenceName-Value",
reference_display_name="EXAMPLE-referenceDisplayName-Value")])],
dependent_parsers=[
oci.log_analytics.models.DependentParser(
parser_name="EXAMPLE-parserName-Value",
parser_display_name="EXAMPLE-parserDisplayName-Value",
parser_id=771,
is_system=True,
parser_type="XML",
dependencies=[
oci.log_analytics.models.Dependency(
type="EXAMPLE-type-Value",
reference_type="EXAMPLE-referenceType-Value",
reference_id=670,
reference_name="EXAMPLE-referenceName-Value",
reference_display_name="EXAMPLE-referenceDisplayName-Value")])])],
parameters=[
oci.log_analytics.models.LogAnalyticsParameter(
default_value="EXAMPLE-defaultValue-Value",
description="EXAMPLE-description-Value",
is_active=True,
name="EXAMPLE-name-Value",
source_id=978)],
pattern_count=951,
patterns=[
oci.log_analytics.models.LogAnalyticsSourcePattern(
converted_text="EXAMPLE-convertedText-Value",
db_parser_id=972,
db_pattern_date_time_columns="EXAMPLE-dbPatternDateTimeColumns-Value",
db_pattern_date_time_field="EXAMPLE-dbPatternDateTimeField-Value",
db_pattern_sequence_column="EXAMPLE-dbPatternSequenceColumn-Value",
fields=[
oci.log_analytics.models.LogAnalyticsParserField(
field=oci.log_analytics.models.LogAnalyticsField(
cee_alias="EXAMPLE-ceeAlias-Value",
data_type="EXAMPLE-dataType-Value",
regular_expression="EXAMPLE-regularExpression-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=316,
facet_priority=915,
name="EXAMPLE-name-Value",
is_facet_eligible=True,
is_high_cardinality=True,
is_large_data=True,
is_multi_valued=True,
is_primary=False,
is_system=False,
is_summarizable=False,
mapped_value="EXAMPLE-mappedValue-Value",
is_metric_key_eligible=False,
is_metric_value_eligible=False,
range_facet_eligible=348,
is_table_eligible=True,
unit_type="EXAMPLE-unitType-Value",
time_updated=datetime.strptime(
"2007-12-13T03:07:00.241Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
is_keep_duplicates=False),
parser_field_id=360,
parser_field_expression="EXAMPLE-parserFieldExpression-Value",
parser_field_name="EXAMPLE-parserFieldName-Value",
storage_field_name="EXAMPLE-storageFieldName-Value",
parser_field_integrator_name="EXAMPLE-parserFieldIntegratorName-Value",
parser_name="EXAMPLE-parserName-Value",
parser_field_sequence=179,
parser=oci.log_analytics.models.LogAnalyticsParser(
content="EXAMPLE-content-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=821,
encoding="EXAMPLE-encoding-Value",
example_content="EXAMPLE-exampleContent-Value",
footer_content="EXAMPLE-footerContent-Value",
header_content="EXAMPLE-headerContent-Value",
name="EXAMPLE-name-Value",
is_default=False,
is_single_line_content=False,
is_system=True,
language="EXAMPLE-language-Value",
time_updated=datetime.strptime(
"2039-07-31T00:38:19.628Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
log_type_test_request_version=795,
parser_ignoreline_characters="EXAMPLE-parserIgnorelineCharacters-Value",
is_hidden=False,
parser_sequence=663,
parser_timezone="EXAMPLE-parserTimezone-Value",
parser_filter=oci.log_analytics.models.LogAnalyticsParserFilter(
id="ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
agent_version="EXAMPLE-agentVersion-Value",
is_in_use=700,
operating_system="EXAMPLE-operatingSystem-Value",
parser_id=596,
version="EXAMPLE-version-Value"),
is_parser_written_once=False,
parser_functions=[
oci.log_analytics.models.LogAnalyticsParserFunction(
parser_meta_plugin=oci.log_analytics.models.LogAnalyticsParserMetaPlugin(
meta_plugin_parameters=[
oci.log_analytics.models.LogAnalyticsParserMetaPluginParameter(
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_mandatory=True,
is_repeatable=True,
plugin_name="EXAMPLE-pluginName-Value",
type="EXAMPLE-type-Value")],
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
name="EXAMPLE-name-Value"),
parser_function_id=213,
parser_function_name="EXAMPLE-parserFunctionName-Value",
is_enabled=True,
is_system=False,
parser_id=533,
parser_name="EXAMPLE-parserName-Value",
parser_meta_plugin_name="EXAMPLE-parserMetaPluginName-Value",
parser_function_priority=367,
parser_function_parameters=[
oci.log_analytics.models.LogAnalyticsParserFunctionParameter(
parser_function_id=433,
parser_function_parameter_name="EXAMPLE-parserFunctionParameterName-Value",
parser_function_parameter_id=512,
parser_meta_plugin_parameter_name="EXAMPLE-parserMetaPluginParameterName-Value",
parser_meta_plugin_parameter_value="EXAMPLE-parserMetaPluginParameterValue-Value",
parser_name="EXAMPLE-parserName-Value",
parser_meta_plugin_parameter=oci.log_analytics.models.LogAnalyticsParserMetaPluginParameter(
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_mandatory=False,
is_repeatable=False,
plugin_name="EXAMPLE-pluginName-Value",
type="EXAMPLE-type-Value"))])],
sources_count=203,
should_tokenize_original_text=False,
field_delimiter="EXAMPLE-fieldDelimiter-Value",
field_qualifier="EXAMPLE-fieldQualifier-Value",
type="ODL",
is_user_deleted=True,
is_namespace_aware=False,
categories=[
oci.log_analytics.models.LogAnalyticsCategory(
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
type="EXAMPLE-type-Value",
is_system=False)],
is_position_aware=False,
dependent_sources=[
oci.log_analytics.models.DependentSource(
source_name="EXAMPLE-sourceName-Value",
source_display_name="EXAMPLE-sourceDisplayName-Value",
source_id=169,
source_type="EXAMPLE-sourceType-Value",
is_system=False,
is_auto_association_enabled=True,
entity_types=[
oci.log_analytics.models.LogAnalyticsSourceEntityType(
source_id=690,
entity_type="EXAMPLE-entityType-Value",
entity_type_category="EXAMPLE-entityTypeCategory-Value",
entity_type_display_name="EXAMPLE-entityTypeDisplayName-Value")],
dependencies=[
oci.log_analytics.models.Dependency(
type="EXAMPLE-type-Value",
reference_type="EXAMPLE-referenceType-Value",
reference_id=110,
reference_name="EXAMPLE-referenceName-Value",
reference_display_name="EXAMPLE-referenceDisplayName-Value")])],
dependent_parsers=[
oci.log_analytics.models.DependentParser(
parser_name="EXAMPLE-parserName-Value",
parser_display_name="EXAMPLE-parserDisplayName-Value",
parser_id=464,
is_system=False,
parser_type="DELIMITED",
dependencies=[
oci.log_analytics.models.Dependency(
type="EXAMPLE-type-Value",
reference_type="EXAMPLE-referenceType-Value",
reference_id=437,
reference_name="EXAMPLE-referenceName-Value",
reference_display_name="EXAMPLE-referenceDisplayName-Value")])]),
structured_column_info="EXAMPLE-structuredColumnInfo-Value",
actions=[
oci.log_analytics.models.ParserAction(
name="EXAMPLE-name-Value",
order=229)])],
is_include=False,
is_default=True,
pattern_filter=oci.log_analytics.models.LogAnalyticsPatternFilter(
agent_version="EXAMPLE-agentVersion-Value",
is_in_use=False,
operating_system="EXAMPLE-operatingSystem-Value",
pattern_id=837,
source_id=604,
version="EXAMPLE-version-Value"),
alias="EXAMPLE-alias-Value",
description="EXAMPLE-description-Value",
is_enabled=True,
pattern_id=709,
is_system=False,
source_id=339,
is_agent_warning_suppressed=True,
pattern_text="EXAMPLE-patternText-Value",
pattern_type=177,
entity_type=["EXAMPLE--Value"],
pattern_properties=[
oci.log_analytics.models.LogAnalyticsProperty(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value")])],
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=778,
functions=[
oci.log_analytics.models.LogAnalyticsSourceFunction(
arguments=[
oci.log_analytics.models.LogAnalyticsMetaFunctionArgument(
is_override_output_fields=False,
argument_display_name="EXAMPLE-argumentDisplayName-Value",
argument_example="EXAMPLE-argumentExample-Value",
argument_service="EXAMPLE-argumentService-Value",
argument_data_type="EXAMPLE-argumentDataType-Value",
argument_description="EXAMPLE-argumentDescription-Value",
argument_name="EXAMPLE-argumentName-Value",
argument_order=198,
argument_type=391,
argument_id=668,
argument_lookup_column="EXAMPLE-argumentLookupColumn-Value",
argument_lookup_column_position=120,
argument_value="EXAMPLE-argumentValue-Value",
argument_reference="EXAMPLE-argumentReference-Value")],
is_enabled=True,
function=oci.log_analytics.models.LogAnalyticsMetaFunction(
meta_function_argument=[
oci.log_analytics.models.LogAnalyticsMetaFunctionArgument(
is_override_output_fields=False,
argument_display_name="EXAMPLE-argumentDisplayName-Value",
argument_example="EXAMPLE-argumentExample-Value",
argument_service="EXAMPLE-argumentService-Value",
argument_data_type="EXAMPLE-argumentDataType-Value",
argument_description="EXAMPLE-argumentDescription-Value",
argument_name="EXAMPLE-argumentName-Value",
argument_order=745,
argument_type=829,
argument_id=567,
argument_lookup_column="EXAMPLE-argumentLookupColumn-Value",
argument_lookup_column_position=177,
argument_value="EXAMPLE-argumentValue-Value",
argument_reference="EXAMPLE-argumentReference-Value")],
component="EXAMPLE-component-Value",
description="EXAMPLE-description-Value",
edit_version=82,
meta_function_id=104,
java_class_name="EXAMPLE-javaClassName-Value",
name="EXAMPLE-name-Value"),
function_name="GEOLOCATION",
function_reference="EXAMPLE-functionReference-Value",
source_reference="EXAMPLE-sourceReference-Value",
features=["EXAMPLE--Value"],
function_id=121,
order=757,
is_system=True,
lookup_column="EXAMPLE-lookupColumn-Value",
lookup_column_position=10,
lookup_display_name="EXAMPLE-lookupDisplayName-Value",
lookup_mode=547,
lookup_table="EXAMPLE-lookupTable-Value",
source_id=317)],
source_id=355,
name="EXAMPLE-name-Value",
is_secure_content=True,
is_system=True,
parsers=[
oci.log_analytics.models.LogAnalyticsParser(
content="EXAMPLE-content-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=137,
encoding="EXAMPLE-encoding-Value",
example_content="EXAMPLE-exampleContent-Value",
field_maps=[
oci.log_analytics.models.LogAnalyticsParserField(
field=oci.log_analytics.models.LogAnalyticsField(
cee_alias="EXAMPLE-ceeAlias-Value",
data_type="EXAMPLE-dataType-Value",
regular_expression="EXAMPLE-regularExpression-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=394,
facet_priority=481,
name="EXAMPLE-name-Value",
is_facet_eligible=False,
is_high_cardinality=True,
is_large_data=True,
is_multi_valued=True,
is_primary=True,
is_system=True,
is_summarizable=False,
mapped_value="EXAMPLE-mappedValue-Value",
is_metric_key_eligible=False,
is_metric_value_eligible=False,
range_facet_eligible=986,
is_table_eligible=True,
unit_type="EXAMPLE-unitType-Value",
time_updated=datetime.strptime(
"2004-02-03T23:53:29.225Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
is_keep_duplicates=True),
parser_field_id=831,
parser_field_expression="EXAMPLE-parserFieldExpression-Value",
parser_field_name="EXAMPLE-parserFieldName-Value",
storage_field_name="EXAMPLE-storageFieldName-Value",
parser_field_integrator_name="EXAMPLE-parserFieldIntegratorName-Value",
parser_name="EXAMPLE-parserName-Value",
parser_field_sequence=196,
structured_column_info="EXAMPLE-structuredColumnInfo-Value",
actions=[
oci.log_analytics.models.ParserAction(
name="EXAMPLE-name-Value",
order=598)])],
footer_content="EXAMPLE-footerContent-Value",
header_content="EXAMPLE-headerContent-Value",
name="EXAMPLE-name-Value",
is_default=True,
is_single_line_content=True,
is_system=True,
language="EXAMPLE-language-Value",
time_updated=datetime.strptime(
"2004-10-10T21:32:27.813Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
log_type_test_request_version=864,
parser_ignoreline_characters="EXAMPLE-parserIgnorelineCharacters-Value",
is_hidden=True,
parser_sequence=788,
parser_timezone="EXAMPLE-parserTimezone-Value",
parser_filter=oci.log_analytics.models.LogAnalyticsParserFilter(
id="ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
agent_version="EXAMPLE-agentVersion-Value",
is_in_use=233,
operating_system="EXAMPLE-operatingSystem-Value",
parser_id=511,
version="EXAMPLE-version-Value"),
is_parser_written_once=False,
parser_functions=[
oci.log_analytics.models.LogAnalyticsParserFunction(
parser_meta_plugin=oci.log_analytics.models.LogAnalyticsParserMetaPlugin(
meta_plugin_parameters=[
oci.log_analytics.models.LogAnalyticsParserMetaPluginParameter(
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_mandatory=False,
is_repeatable=True,
plugin_name="EXAMPLE-pluginName-Value",
type="EXAMPLE-type-Value")],
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
name="EXAMPLE-name-Value"),
parser_function_id=564,
parser_function_name="EXAMPLE-parserFunctionName-Value",
is_enabled=False,
is_system=False,
parser_id=16,
parser_name="EXAMPLE-parserName-Value",
parser_meta_plugin_name="EXAMPLE-parserMetaPluginName-Value",
parser_function_priority=969,
parser_function_parameters=[
oci.log_analytics.models.LogAnalyticsParserFunctionParameter(
parser_function_id=438,
parser_function_parameter_name="EXAMPLE-parserFunctionParameterName-Value",
parser_function_parameter_id=820,
parser_meta_plugin_parameter_name="EXAMPLE-parserMetaPluginParameterName-Value",
parser_meta_plugin_parameter_value="EXAMPLE-parserMetaPluginParameterValue-Value",
parser_name="EXAMPLE-parserName-Value",
parser_meta_plugin_parameter=oci.log_analytics.models.LogAnalyticsParserMetaPluginParameter(
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_mandatory=True,
is_repeatable=False,
plugin_name="EXAMPLE-pluginName-Value",
type="EXAMPLE-type-Value"))])],
sources_count=282,
should_tokenize_original_text=True,
field_delimiter="EXAMPLE-fieldDelimiter-Value",
field_qualifier="EXAMPLE-fieldQualifier-Value",
type="JSON",
is_user_deleted=False,
is_namespace_aware=False,
categories=[
oci.log_analytics.models.LogAnalyticsCategory(
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
type="EXAMPLE-type-Value",
is_system=True)],
is_position_aware=True,
dependent_sources=[
oci.log_analytics.models.DependentSource(
source_name="EXAMPLE-sourceName-Value",
source_display_name="EXAMPLE-sourceDisplayName-Value",
source_id=573,
source_type="EXAMPLE-sourceType-Value",
is_system=True,
is_auto_association_enabled=True,
entity_types=[
oci.log_analytics.models.LogAnalyticsSourceEntityType(
source_id=700,
entity_type="EXAMPLE-entityType-Value",
entity_type_category="EXAMPLE-entityTypeCategory-Value",
entity_type_display_name="EXAMPLE-entityTypeDisplayName-Value")],
dependencies=[
oci.log_analytics.models.Dependency(
type="EXAMPLE-type-Value",
reference_type="EXAMPLE-referenceType-Value",
reference_id=990,
reference_name="EXAMPLE-referenceName-Value",
reference_display_name="EXAMPLE-referenceDisplayName-Value")])],
dependent_parsers=[
oci.log_analytics.models.DependentParser(
parser_name="EXAMPLE-parserName-Value",
parser_display_name="EXAMPLE-parserDisplayName-Value",
parser_id=299,
is_system=True,
parser_type="XML",
dependencies=[
oci.log_analytics.models.Dependency(
type="EXAMPLE-type-Value",
reference_type="EXAMPLE-referenceType-Value",
reference_id=571,
reference_name="EXAMPLE-referenceName-Value",
reference_display_name="EXAMPLE-referenceDisplayName-Value")])])],
is_auto_association_enabled=False,
is_auto_association_override=True,
rule_id=483,
type_name="EXAMPLE-typeName-Value",
type_display_name="EXAMPLE-typeDisplayName-Value",
warning_config=489,
metadata_fields=[
oci.log_analytics.models.LogAnalyticsSourceMetadataField(
field_name="EXAMPLE-fieldName-Value",
is_enabled=False,
is_system=True,
key="EXAMPLE-key-Value",
source_name="EXAMPLE-sourceName-Value")],
label_definitions=[
oci.log_analytics.models.LogAnalyticsLabelDefinition(
edit_version=29,
is_system=True,
source_id=386,
label_name="EXAMPLE-labelName-Value")],
entity_types=[
oci.log_analytics.models.LogAnalyticsSourceEntityType(
source_id=690,
entity_type="EXAMPLE-entityType-Value",
entity_type_category="EXAMPLE-entityTypeCategory-Value",
entity_type_display_name="EXAMPLE-entityTypeDisplayName-Value")],
is_timezone_override=True,
user_parsers=[
oci.log_analytics.models.LogAnalyticsParser(
content="EXAMPLE-content-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=340,
encoding="EXAMPLE-encoding-Value",
example_content="EXAMPLE-exampleContent-Value",
field_maps=[
oci.log_analytics.models.LogAnalyticsParserField(
field=oci.log_analytics.models.LogAnalyticsField(
cee_alias="EXAMPLE-ceeAlias-Value",
data_type="EXAMPLE-dataType-Value",
regular_expression="EXAMPLE-regularExpression-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
edit_version=830,
facet_priority=596,
name="EXAMPLE-name-Value",
is_facet_eligible=False,
is_high_cardinality=False,
is_large_data=True,
is_multi_valued=False,
is_primary=False,
is_system=True,
is_summarizable=False,
mapped_value="EXAMPLE-mappedValue-Value",
is_metric_key_eligible=False,
is_metric_value_eligible=False,
range_facet_eligible=953,
is_table_eligible=False,
unit_type="EXAMPLE-unitType-Value",
time_updated=datetime.strptime(
"2044-02-17T01:01:27.578Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
is_keep_duplicates=True),
parser_field_id=735,
parser_field_expression="EXAMPLE-parserFieldExpression-Value",
parser_field_name="EXAMPLE-parserFieldName-Value",
storage_field_name="EXAMPLE-storageFieldName-Value",
parser_field_integrator_name="EXAMPLE-parserFieldIntegratorName-Value",
parser_name="EXAMPLE-parserName-Value",
parser_field_sequence=555,
structured_column_info="EXAMPLE-structuredColumnInfo-Value",
actions=[
oci.log_analytics.models.ParserAction(
name="EXAMPLE-name-Value",
order=244)])],
footer_content="EXAMPLE-footerContent-Value",
header_content="EXAMPLE-headerContent-Value",
name="EXAMPLE-name-Value",
is_default=True,
is_single_line_content=False,
is_system=False,
language="EXAMPLE-language-Value",
time_updated=datetime.strptime(
"2018-07-14T10:01:13.405Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
log_type_test_request_version=219,
parser_ignoreline_characters="EXAMPLE-parserIgnorelineCharacters-Value",
is_hidden=False,
parser_sequence=943,
parser_timezone="EXAMPLE-parserTimezone-Value",
parser_filter=oci.log_analytics.models.LogAnalyticsParserFilter(
id="ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
agent_version="EXAMPLE-agentVersion-Value",
is_in_use=236,
operating_system="EXAMPLE-operatingSystem-Value",
parser_id=138,
version="EXAMPLE-version-Value"),
is_parser_written_once=True,
parser_functions=[
oci.log_analytics.models.LogAnalyticsParserFunction(
parser_meta_plugin=oci.log_analytics.models.LogAnalyticsParserMetaPlugin(
meta_plugin_parameters=[
oci.log_analytics.models.LogAnalyticsParserMetaPluginParameter(
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_mandatory=False,
is_repeatable=True,
plugin_name="EXAMPLE-pluginName-Value",
type="EXAMPLE-type-Value")],
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
name="EXAMPLE-name-Value"),
parser_function_id=559,
parser_function_name="EXAMPLE-parserFunctionName-Value",
is_enabled=True,
is_system=True,
parser_id=978,
parser_name="EXAMPLE-parserName-Value",
parser_meta_plugin_name="EXAMPLE-parserMetaPluginName-Value",
parser_function_priority=837,
parser_function_parameters=[
oci.log_analytics.models.LogAnalyticsParserFunctionParameter(
parser_function_id=576,
parser_function_parameter_name="EXAMPLE-parserFunctionParameterName-Value",
parser_function_parameter_id=545,
parser_meta_plugin_parameter_name="EXAMPLE-parserMetaPluginParameterName-Value",
parser_meta_plugin_parameter_value="EXAMPLE-parserMetaPluginParameterValue-Value",
parser_name="EXAMPLE-parserName-Value",
parser_meta_plugin_parameter=oci.log_analytics.models.LogAnalyticsParserMetaPluginParameter(
description="EXAMPLE-description-Value",
name="EXAMPLE-name-Value",
is_mandatory=True,
is_repeatable=True,
plugin_name="EXAMPLE-pluginName-Value",
type="EXAMPLE-type-Value"))])],
sources_count=313,
should_tokenize_original_text=False,
field_delimiter="EXAMPLE-fieldDelimiter-Value",
field_qualifier="EXAMPLE-fieldQualifier-Value",
type="DELIMITED",
is_user_deleted=True,
is_namespace_aware=True,
categories=[
oci.log_analytics.models.LogAnalyticsCategory(
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
type="EXAMPLE-type-Value",
is_system=True)],
is_position_aware=True,
dependent_sources=[
oci.log_analytics.models.DependentSource(
source_name="EXAMPLE-sourceName-Value",
source_display_name="EXAMPLE-sourceDisplayName-Value",
source_id=197,
source_type="EXAMPLE-sourceType-Value",
is_system=True,
is_auto_association_enabled=False,
entity_types=[
oci.log_analytics.models.LogAnalyticsSourceEntityType(
source_id=109,
entity_type="EXAMPLE-entityType-Value",
entity_type_category="EXAMPLE-entityTypeCategory-Value",
entity_type_display_name="EXAMPLE-entityTypeDisplayName-Value")],
dependencies=[
oci.log_analytics.models.Dependency(
type="EXAMPLE-type-Value",
reference_type="EXAMPLE-referenceType-Value",
reference_id=860,
reference_name="EXAMPLE-referenceName-Value",
reference_display_name="EXAMPLE-referenceDisplayName-Value")])],
dependent_parsers=[
oci.log_analytics.models.DependentParser(
parser_name="EXAMPLE-parserName-Value",
parser_display_name="EXAMPLE-parserDisplayName-Value",
parser_id=28,
is_system=True,
parser_type="ODL",
dependencies=[
oci.log_analytics.models.Dependency(
type="EXAMPLE-type-Value",
reference_type="EXAMPLE-referenceType-Value",
reference_id=295,
reference_name="EXAMPLE-referenceName-Value",
reference_display_name="EXAMPLE-referenceDisplayName-Value")])])],
time_updated=datetime.strptime(
"2008-03-06T20:59:10.206Z",
"%Y-%m-%dT%H:%M:%S.%fZ"),
event_types=[
oci.log_analytics.models.EventType(
event_type_name="EXAMPLE-eventTypeName-Value",
spec_version="EXAMPLE-specVersion-Value",
is_enabled=False,
is_system=False,
time_updated=datetime.strptime(
"2026-01-05T00:07:52.885Z",
"%Y-%m-%dT%H:%M:%S.%fZ"))],
categories=[
oci.log_analytics.models.LogAnalyticsCategory(
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
display_name="EXAMPLE-displayName-Value",
type="EXAMPLE-type-Value",
is_system=True)],
endpoints=[
oci.log_analytics.models.LogListTypeEndpoint(
endpoint_type="LOG_LIST",
list_endpoint=oci.log_analytics.models.LogListEndpoint(
name="EXAMPLE-name-Value",
request=oci.log_analytics.models.EndpointRequest(
url="EXAMPLE-url-Value",
method="GET",
content_type="EXAMPLE-contentType-Value",
payload="EXAMPLE-payload-Value",
headers=[
oci.log_analytics.models.NameValuePair(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value")],
form_parameters=[
oci.log_analytics.models.NameValuePair(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value")]),
description="EXAMPLE-description-Value",
model="EXAMPLE-model-Value",
endpoint_id=38,
response=oci.log_analytics.models.EndpointResponse(
content_type="EXAMPLE-contentType-Value",
example="EXAMPLE-example-Value"),
credentials=oci.log_analytics.models.EndpointCredentials(
credential_type="BASIC_AUTH",
credential_name="EXAMPLE-credentialName-Value",
credential_endpoint=oci.log_analytics.models.CredentialEndpoint(
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
model="EXAMPLE-model-Value",
endpoint_id=366,
response=oci.log_analytics.models.EndpointResponse(
content_type="EXAMPLE-contentType-Value",
example="EXAMPLE-example-Value"),
proxy=oci.log_analytics.models.EndpointProxy(
url="EXAMPLE-url-Value",
credential_name="EXAMPLE-credentialName-Value",
credential_type="NONE"))),
proxy=oci.log_analytics.models.EndpointProxy(
url="EXAMPLE-url-Value",
credential_name="EXAMPLE-credentialName-Value",
credential_type="BASIC_AUTH"),
is_enabled=False,
is_system=False,
endpoint_properties=[
oci.log_analytics.models.LogAnalyticsProperty(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value")]),
log_endpoints=[
oci.log_analytics.models.LogEndpoint(
name="EXAMPLE-name-Value",
request=oci.log_analytics.models.EndpointRequest(
url="EXAMPLE-url-Value",
method="GET",
content_type="EXAMPLE-contentType-Value",
payload="EXAMPLE-payload-Value",
headers=[
oci.log_analytics.models.NameValuePair(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value")],
form_parameters=[
oci.log_analytics.models.NameValuePair(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value")]),
description="EXAMPLE-description-Value",
model="EXAMPLE-model-Value",
endpoint_id=114,
response=oci.log_analytics.models.EndpointResponse(
content_type="EXAMPLE-contentType-Value",
example="EXAMPLE-example-Value"),
credentials=oci.log_analytics.models.EndpointCredentials(
credential_type="STATIC_TOKEN",
credential_name="EXAMPLE-credentialName-Value",
credential_endpoint=oci.log_analytics.models.CredentialEndpoint(
name="EXAMPLE-name-Value",
description="EXAMPLE-description-Value",
model="EXAMPLE-model-Value",
endpoint_id=361,
response=oci.log_analytics.models.EndpointResponse(
content_type="EXAMPLE-contentType-Value",
example="EXAMPLE-example-Value"),
proxy=oci.log_analytics.models.EndpointProxy(
url="EXAMPLE-url-Value",
credential_name="EXAMPLE-credentialName-Value",
credential_type="BASIC_AUTH"))),
proxy=oci.log_analytics.models.EndpointProxy(
url="EXAMPLE-url-Value",
credential_name="EXAMPLE-credentialName-Value",
credential_type="TOKEN"),
is_enabled=False,
is_system=False,
endpoint_properties=[
oci.log_analytics.models.LogAnalyticsProperty(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value")])])],
source_properties=[
oci.log_analytics.models.LogAnalyticsProperty(
name="EXAMPLE-name-Value",
value="EXAMPLE-value-Value")],
lifecycle_state="ACTIVE"),
opc_retry_token="EXAMPLE-opcRetryToken-Value",
opc_request_id="GEBPZUFYM8YFOX64DVQY<unique_ID>")
# Get the data from response
print(validate_source_extended_field_details_response.data)