// 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).
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Oci.LoganalyticsService;
using Oci.Common;
using Oci.Common.Auth;
namespace Oci.Sdk.DotNet.Example.Loganalytics
{
public class ValidateSourceExtendedFieldDetailsExample
{
public static async Task Main()
{
// Create a request and dependent object(s).
var logAnalyticsSource = new Oci.LoganalyticsService.Models.LogAnalyticsSource
{
LabelConditions = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceLabelCondition>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceLabelCondition
{
ConditionString = "EXAMPLE-conditionString-Value",
ConditionBlock = new Oci.LoganalyticsService.Models.ConditionBlock
{
ConditionBlocksOperator = Oci.LoganalyticsService.Models.ConditionBlock.ConditionBlocksOperatorEnum.NotOr,
FieldName = "EXAMPLE-fieldName-Value",
LabelConditionOperator = "EXAMPLE-labelConditionOperator-Value",
LabelConditionValue = "EXAMPLE-labelConditionValue-Value",
LabelConditionValues = new List<string>
{
"EXAMPLE--Value"
},
},
Message = "EXAMPLE-message-Value",
IsVisible = true,
BlockConditionField = "EXAMPLE-blockConditionField-Value",
BlockConditionOperator = "EXAMPLE-blockConditionOperator-Value",
BlockConditionValue = "EXAMPLE-blockConditionValue-Value",
LabelConditionValue = "EXAMPLE-labelConditionValue-Value",
LabelConditionValues = new List<string>
{
"EXAMPLE--Value"
},
ContentExample = "EXAMPLE-contentExample-Value",
IsEnabled = true,
FieldName = "EXAMPLE-fieldName-Value",
LabelConditionId = 176,
IsSystem = true,
LabelConditionOperator = "EXAMPLE-labelConditionOperator-Value",
SourceId = 136,
LabelDisplayName = "EXAMPLE-labelDisplayName-Value",
StorageField = "EXAMPLE-storageField-Value",
LabelName = "EXAMPLE-labelName-Value",
IsInlineLabelExistingInDatabase = false
}
},
AssociationCount = 132,
AssociationEntity = new List<Oci.LoganalyticsService.Models.LogAnalyticsAssociation>
{
new Oci.LoganalyticsService.Models.LogAnalyticsAssociation
{
FailureMessage = "EXAMPLE-failureMessage-Value",
AgentId = "ocid1.test.oc1..<unique_ID>EXAMPLE-agentId-Value",
TimeLastAttempted = DateTime.Parse("09/22/2031 06:03:38"),
RetryCount = 818,
SourceName = "EXAMPLE-sourceName-Value",
SourceDisplayName = "EXAMPLE-sourceDisplayName-Value",
SourceTypeName = "EXAMPLE-sourceTypeName-Value",
LifeCycleState = Oci.LoganalyticsService.Models.LogAnalyticsAssociation.LifeCycleStateEnum.Accepted,
EntityId = "ocid1.test.oc1..<unique_ID>EXAMPLE-entityId-Value",
EntityName = "EXAMPLE-entityName-Value",
EntityTypeName = "EXAMPLE-entityTypeName-Value",
Host = "EXAMPLE-host-Value",
AgentEntityName = "EXAMPLE-agentEntityName-Value",
EntityTypeDisplayName = "EXAMPLE-entityTypeDisplayName-Value",
LogGroupId = "ocid1.test.oc1..<unique_ID>EXAMPLE-logGroupId-Value",
LogGroupName = "EXAMPLE-logGroupName-Value",
LogGroupCompartment = "EXAMPLE-logGroupCompartment-Value",
AssociationProperties = new List<Oci.LoganalyticsService.Models.AssociationProperty>
{
new Oci.LoganalyticsService.Models.AssociationProperty
{
Name = "EXAMPLE-name-Value",
Value = "EXAMPLE-value-Value",
Patterns = new List<Oci.LoganalyticsService.Models.PatternOverride>
{
new Oci.LoganalyticsService.Models.PatternOverride
{
Id = "ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
Value = "EXAMPLE-value-Value",
EffectiveLevel = "EXAMPLE-effectiveLevel-Value"
}
}
}
}
}
},
DataFilterDefinitions = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceDataFilter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceDataFilter
{
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 408,
IsEnabled = false,
FieldName = "EXAMPLE-fieldName-Value",
HashType = 830,
DataFilterId = 662,
IsSystem = true,
MatchRegularExpression = "EXAMPLE-matchRegularExpression-Value",
Order = 486,
Path = "EXAMPLE-path-Value",
ReplacementString = "EXAMPLE-replacementString-Value",
SourceId = 306,
FilterType = Oci.LoganalyticsService.Models.LogAnalyticsSourceDataFilter.FilterTypeEnum.DropLogEntry
}
},
DatabaseCredential = "EXAMPLE-databaseCredential-Value",
ExtendedFieldDefinitions = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceExtendedFieldDefinition>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceExtendedFieldDefinition
{
Field = new Oci.LoganalyticsService.Models.LogAnalyticsField
{
CeeAlias = "EXAMPLE-ceeAlias-Value",
DataType = "EXAMPLE-dataType-Value",
RegularExpression = "EXAMPLE-regularExpression-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 631,
FacetPriority = 833,
Name = "EXAMPLE-name-Value",
IsFacetEligible = false,
IsHighCardinality = false,
IsLargeData = true,
IsMultiValued = false,
IsPrimary = false,
IsSystem = false,
IsSummarizable = true,
MappedValue = "EXAMPLE-mappedValue-Value",
IsMetricKeyEligible = false,
IsMetricValueEligible = false,
RangeFacetEligible = 916,
IsTableEligible = false,
UnitType = "EXAMPLE-unitType-Value",
TimeUpdated = DateTime.Parse("06/05/2048 10:07:02"),
IsKeepDuplicates = false
},
DisplayRegularExpression = "EXAMPLE-displayRegularExpression-Value",
ExtendedFields = new List<Oci.LoganalyticsService.Models.LogAnalyticsExtendedField>
{
new Oci.LoganalyticsService.Models.LogAnalyticsExtendedField
{
Field = new Oci.LoganalyticsService.Models.LogAnalyticsField
{
CeeAlias = "EXAMPLE-ceeAlias-Value",
DataType = "EXAMPLE-dataType-Value",
RegularExpression = "EXAMPLE-regularExpression-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 867,
FacetPriority = 187,
Name = "EXAMPLE-name-Value",
IsFacetEligible = true,
IsHighCardinality = true,
IsLargeData = false,
IsMultiValued = true,
IsPrimary = true,
IsSystem = true,
IsSummarizable = false,
MappedValue = "EXAMPLE-mappedValue-Value",
IsMetricKeyEligible = true,
IsMetricValueEligible = true,
RangeFacetEligible = 309,
IsTableEligible = true,
UnitType = "EXAMPLE-unitType-Value",
TimeUpdated = DateTime.Parse("05/14/2018 16:59:10"),
IsKeepDuplicates = true
},
ExtendedFieldDefinitionId = 985,
FieldName = "EXAMPLE-fieldName-Value",
FieldDisplayName = "EXAMPLE-fieldDisplayName-Value",
SavedRegularExpressionName = "EXAMPLE-savedRegularExpressionName-Value",
ExtendedFieldId = 62
}
},
BaseFieldName = "EXAMPLE-baseFieldName-Value",
BaseFieldLogText = "EXAMPLE-baseFieldLogText-Value",
ConditionDataType = "EXAMPLE-conditionDataType-Value",
ConditionField = "EXAMPLE-conditionField-Value",
ConditionOperator = "EXAMPLE-conditionOperator-Value",
ConditionValue = "EXAMPLE-conditionValue-Value",
ConvertedRegularExpression = "EXAMPLE-convertedRegularExpression-Value",
IsEnabled = false,
ExtendedFieldDefinitionId = 395,
IsSystem = false,
RegularExpression = "EXAMPLE-regularExpression-Value",
SourceId = 538,
TimeUpdated = DateTime.Parse("08/20/2033 16:11:36"),
ConditionString = "EXAMPLE-conditionString-Value",
ConditionBlock = new Oci.LoganalyticsService.Models.GenericConditionBlock
{
ConditionBlocksOperator = Oci.LoganalyticsService.Models.GenericConditionBlock.ConditionBlocksOperatorEnum.NotOr,
Name = "EXAMPLE-name-Value",
Operator = "EXAMPLE-operator-Value",
Value = "EXAMPLE-value-Value",
Values = new List<string>
{
"EXAMPLE--Value"
},
}
}
},
IsForCloud = false,
Labels = new List<Oci.LoganalyticsService.Models.LogAnalyticsLabelView>
{
new Oci.LoganalyticsService.Models.LogAnalyticsLabelView
{
Aliases = new List<Oci.LoganalyticsService.Models.LogAnalyticsLabelAlias>
{
new Oci.LoganalyticsService.Models.LogAnalyticsLabelAlias
{
Alias = "EXAMPLE-alias-Value",
AliasDisplayName = "EXAMPLE-aliasDisplayName-Value",
IsSystem = true,
DisplayName = "EXAMPLE-displayName-Value",
Name = "EXAMPLE-name-Value",
Priority = Oci.LoganalyticsService.Models.LogAnalyticsLabelAlias.PriorityEnum.Low
}
},
CountUsageInAlertRule = 551,
CountUsageInSource = 306,
Id = "EXAMPLE-id-Value",
SuggestType = 496,
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 141,
Impact = "EXAMPLE-impact-Value",
IsSystem = false,
Name = "EXAMPLE-name-Value",
Priority = Oci.LoganalyticsService.Models.LogAnalyticsLabelView.PriorityEnum.Medium,
Recommendation = "EXAMPLE-recommendation-Value",
Type = 480,
IsUserDeleted = false
}
},
MetricDefinitions = new List<Oci.LoganalyticsService.Models.LogAnalyticsMetric>
{
new Oci.LoganalyticsService.Models.LogAnalyticsMetric
{
AggregationField = "EXAMPLE-aggregationField-Value",
BucketMetadata = "EXAMPLE-bucketMetadata-Value",
ClockPeriod = "EXAMPLE-clockPeriod-Value",
Description = "EXAMPLE-description-Value",
EditVersion = 836,
FieldName = "EXAMPLE-fieldName-Value",
FieldValues = new List<string>
{
"EXAMPLE--Value"
},
GroupingField = "EXAMPLE-groupingField-Value",
IsEnabled = true,
IsSystem = true,
DisplayName = "EXAMPLE-displayName-Value",
MetricReference = 672,
Name = "EXAMPLE-name-Value",
MetricType = Oci.LoganalyticsService.Models.LogAnalyticsMetric.MetricTypeEnum.Average,
IsMetricSourceEnabled = false,
Operator = Oci.LoganalyticsService.Models.LogAnalyticsMetric.OperatorEnum.NotNull,
EntityType = "EXAMPLE-entityType-Value",
TimeUpdated = DateTime.Parse("02/22/2029 11:03:48"),
UnitType = "EXAMPLE-unitType-Value",
IsUserCustomized = true
}
},
Metrics = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceMetric>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceMetric
{
IsMetricSourceEnabled = false,
MetricName = "EXAMPLE-metricName-Value",
SourceName = "EXAMPLE-sourceName-Value",
EntityType = "EXAMPLE-entityType-Value"
}
},
OobParsers = new List<Oci.LoganalyticsService.Models.LogAnalyticsParser>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParser
{
Content = "EXAMPLE-content-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 300,
Encoding = "EXAMPLE-encoding-Value",
ExampleContent = "EXAMPLE-exampleContent-Value",
FieldMaps = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserField>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserField
{
Field = new Oci.LoganalyticsService.Models.LogAnalyticsField
{
CeeAlias = "EXAMPLE-ceeAlias-Value",
DataType = "EXAMPLE-dataType-Value",
RegularExpression = "EXAMPLE-regularExpression-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 630,
FacetPriority = 143,
Name = "EXAMPLE-name-Value",
IsFacetEligible = true,
IsHighCardinality = true,
IsLargeData = false,
IsMultiValued = false,
IsPrimary = true,
IsSystem = true,
IsSummarizable = true,
MappedValue = "EXAMPLE-mappedValue-Value",
IsMetricKeyEligible = true,
IsMetricValueEligible = false,
RangeFacetEligible = 232,
IsTableEligible = true,
UnitType = "EXAMPLE-unitType-Value",
TimeUpdated = DateTime.Parse("08/21/2037 01:03:12"),
IsKeepDuplicates = true
},
ParserFieldId = 697,
ParserFieldExpression = "EXAMPLE-parserFieldExpression-Value",
ParserFieldName = "EXAMPLE-parserFieldName-Value",
StorageFieldName = "EXAMPLE-storageFieldName-Value",
ParserFieldIntegratorName = "EXAMPLE-parserFieldIntegratorName-Value",
ParserName = "EXAMPLE-parserName-Value",
ParserFieldSequence = 968,
StructuredColumnInfo = "EXAMPLE-structuredColumnInfo-Value",
Actions = new List<Oci.LoganalyticsService.Models.ParserAction>
{
new Oci.LoganalyticsService.Models.ParserAction
{
Name = "EXAMPLE-name-Value",
Order = 204
}
}
}
},
FooterContent = "EXAMPLE-footerContent-Value",
HeaderContent = "EXAMPLE-headerContent-Value",
Name = "EXAMPLE-name-Value",
IsDefault = false,
IsSingleLineContent = true,
IsSystem = true,
Language = "EXAMPLE-language-Value",
TimeUpdated = DateTime.Parse("08/07/2026 22:36:47"),
LogTypeTestRequestVersion = 986,
ParserIgnorelineCharacters = "EXAMPLE-parserIgnorelineCharacters-Value",
IsHidden = false,
ParserSequence = 649,
ParserTimezone = "EXAMPLE-parserTimezone-Value",
ParserFilter = new Oci.LoganalyticsService.Models.LogAnalyticsParserFilter
{
Id = "ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
AgentVersion = "EXAMPLE-agentVersion-Value",
IsInUse = 843,
OperatingSystem = "EXAMPLE-operatingSystem-Value",
ParserId = 420,
Version = "EXAMPLE-version-Value"
},
IsParserWrittenOnce = false,
ParserFunctions = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunction>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserFunction
{
ParserMetaPlugin = new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPlugin
{
MetaPluginParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter
{
Description = "EXAMPLE-description-Value",
Name = "EXAMPLE-name-Value",
IsMandatory = false,
IsRepeatable = false,
PluginName = "EXAMPLE-pluginName-Value",
Type = "EXAMPLE-type-Value"
}
},
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Name = "EXAMPLE-name-Value"
},
ParserFunctionId = 385,
ParserFunctionName = "EXAMPLE-parserFunctionName-Value",
IsEnabled = true,
IsSystem = false,
ParserId = 485,
ParserName = "EXAMPLE-parserName-Value",
ParserMetaPluginName = "EXAMPLE-parserMetaPluginName-Value",
ParserFunctionPriority = 670,
ParserFunctionParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter
{
ParserFunctionId = 335,
ParserFunctionParameterName = "EXAMPLE-parserFunctionParameterName-Value",
ParserFunctionParameterId = 677,
ParserMetaPluginParameterName = "EXAMPLE-parserMetaPluginParameterName-Value",
ParserMetaPluginParameterValue = "EXAMPLE-parserMetaPluginParameterValue-Value",
ParserName = "EXAMPLE-parserName-Value",
ParserMetaPluginParameter = new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter
{
Description = "EXAMPLE-description-Value",
Name = "EXAMPLE-name-Value",
IsMandatory = false,
IsRepeatable = false,
PluginName = "EXAMPLE-pluginName-Value",
Type = "EXAMPLE-type-Value"
}
}
}
}
},
SourcesCount = 980,
ShouldTokenizeOriginalText = false,
FieldDelimiter = "EXAMPLE-fieldDelimiter-Value",
FieldQualifier = "EXAMPLE-fieldQualifier-Value",
Type = Oci.LoganalyticsService.Models.LogAnalyticsParser.TypeEnum.Regex,
IsUserDeleted = true,
IsNamespaceAware = true,
Categories = new List<Oci.LoganalyticsService.Models.LogAnalyticsCategory>
{
new Oci.LoganalyticsService.Models.LogAnalyticsCategory
{
Name = "EXAMPLE-name-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Type = "EXAMPLE-type-Value",
IsSystem = false
}
},
IsPositionAware = true,
DependentSources = new List<Oci.LoganalyticsService.Models.DependentSource>
{
new Oci.LoganalyticsService.Models.DependentSource
{
SourceName = "EXAMPLE-sourceName-Value",
SourceDisplayName = "EXAMPLE-sourceDisplayName-Value",
SourceId = 882,
SourceType = "EXAMPLE-sourceType-Value",
IsSystem = false,
IsAutoAssociationEnabled = true,
EntityTypes = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType
{
SourceId = 324,
EntityType = "EXAMPLE-entityType-Value",
EntityTypeCategory = "EXAMPLE-entityTypeCategory-Value",
EntityTypeDisplayName = "EXAMPLE-entityTypeDisplayName-Value"
}
},
Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
{
new Oci.LoganalyticsService.Models.Dependency
{
Type = "EXAMPLE-type-Value",
ReferenceType = "EXAMPLE-referenceType-Value",
ReferenceId = 736,
ReferenceName = "EXAMPLE-referenceName-Value",
ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
}
}
}
},
DependentParsers = new List<Oci.LoganalyticsService.Models.DependentParser>
{
new Oci.LoganalyticsService.Models.DependentParser
{
ParserName = "EXAMPLE-parserName-Value",
ParserDisplayName = "EXAMPLE-parserDisplayName-Value",
ParserId = 560,
IsSystem = true,
ParserType = Oci.LoganalyticsService.Models.DependentParser.ParserTypeEnum.Delimited,
Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
{
new Oci.LoganalyticsService.Models.Dependency
{
Type = "EXAMPLE-type-Value",
ReferenceType = "EXAMPLE-referenceType-Value",
ReferenceId = 974,
ReferenceName = "EXAMPLE-referenceName-Value",
ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
}
}
}
}
}
},
Parameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParameter
{
DefaultValue = "EXAMPLE-defaultValue-Value",
Description = "EXAMPLE-description-Value",
IsActive = true,
Name = "EXAMPLE-name-Value",
SourceId = 287
}
},
PatternCount = 126,
Patterns = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourcePattern>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourcePattern
{
ConvertedText = "EXAMPLE-convertedText-Value",
DbParserId = 6,
DbPatternDateTimeColumns = "EXAMPLE-dbPatternDateTimeColumns-Value",
DbPatternDateTimeField = "EXAMPLE-dbPatternDateTimeField-Value",
DbPatternSequenceColumn = "EXAMPLE-dbPatternSequenceColumn-Value",
Fields = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserField>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserField
{
Field = new Oci.LoganalyticsService.Models.LogAnalyticsField
{
CeeAlias = "EXAMPLE-ceeAlias-Value",
DataType = "EXAMPLE-dataType-Value",
RegularExpression = "EXAMPLE-regularExpression-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 222,
FacetPriority = 921,
Name = "EXAMPLE-name-Value",
IsFacetEligible = false,
IsHighCardinality = false,
IsLargeData = true,
IsMultiValued = true,
IsPrimary = true,
IsSystem = true,
IsSummarizable = true,
MappedValue = "EXAMPLE-mappedValue-Value",
IsMetricKeyEligible = true,
IsMetricValueEligible = true,
RangeFacetEligible = 581,
IsTableEligible = false,
UnitType = "EXAMPLE-unitType-Value",
TimeUpdated = DateTime.Parse("09/13/2012 03:05:54"),
IsKeepDuplicates = false
},
ParserFieldId = 627,
ParserFieldExpression = "EXAMPLE-parserFieldExpression-Value",
ParserFieldName = "EXAMPLE-parserFieldName-Value",
StorageFieldName = "EXAMPLE-storageFieldName-Value",
ParserFieldIntegratorName = "EXAMPLE-parserFieldIntegratorName-Value",
ParserName = "EXAMPLE-parserName-Value",
ParserFieldSequence = 374,
Parser = new Oci.LoganalyticsService.Models.LogAnalyticsParser
{
Content = "EXAMPLE-content-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 339,
Encoding = "EXAMPLE-encoding-Value",
ExampleContent = "EXAMPLE-exampleContent-Value",
FooterContent = "EXAMPLE-footerContent-Value",
HeaderContent = "EXAMPLE-headerContent-Value",
Name = "EXAMPLE-name-Value",
IsDefault = false,
IsSingleLineContent = false,
IsSystem = true,
Language = "EXAMPLE-language-Value",
TimeUpdated = DateTime.Parse("12/08/2007 20:57:52"),
LogTypeTestRequestVersion = 860,
ParserIgnorelineCharacters = "EXAMPLE-parserIgnorelineCharacters-Value",
IsHidden = false,
ParserSequence = 737,
ParserTimezone = "EXAMPLE-parserTimezone-Value",
ParserFilter = new Oci.LoganalyticsService.Models.LogAnalyticsParserFilter
{
Id = "ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
AgentVersion = "EXAMPLE-agentVersion-Value",
IsInUse = 614,
OperatingSystem = "EXAMPLE-operatingSystem-Value",
ParserId = 423,
Version = "EXAMPLE-version-Value"
},
IsParserWrittenOnce = false,
ParserFunctions = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunction>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserFunction
{
ParserMetaPlugin = new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPlugin
{
MetaPluginParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter
{
Description = "EXAMPLE-description-Value",
Name = "EXAMPLE-name-Value",
IsMandatory = false,
IsRepeatable = false,
PluginName = "EXAMPLE-pluginName-Value",
Type = "EXAMPLE-type-Value"
}
},
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Name = "EXAMPLE-name-Value"
},
ParserFunctionId = 407,
ParserFunctionName = "EXAMPLE-parserFunctionName-Value",
IsEnabled = true,
IsSystem = false,
ParserId = 350,
ParserName = "EXAMPLE-parserName-Value",
ParserMetaPluginName = "EXAMPLE-parserMetaPluginName-Value",
ParserFunctionPriority = 825,
ParserFunctionParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter
{
ParserFunctionId = 178,
ParserFunctionParameterName = "EXAMPLE-parserFunctionParameterName-Value",
ParserFunctionParameterId = 132,
ParserMetaPluginParameterName = "EXAMPLE-parserMetaPluginParameterName-Value",
ParserMetaPluginParameterValue = "EXAMPLE-parserMetaPluginParameterValue-Value",
ParserName = "EXAMPLE-parserName-Value",
ParserMetaPluginParameter = new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter
{
Description = "EXAMPLE-description-Value",
Name = "EXAMPLE-name-Value",
IsMandatory = true,
IsRepeatable = true,
PluginName = "EXAMPLE-pluginName-Value",
Type = "EXAMPLE-type-Value"
}
}
}
}
},
SourcesCount = 501,
ShouldTokenizeOriginalText = true,
FieldDelimiter = "EXAMPLE-fieldDelimiter-Value",
FieldQualifier = "EXAMPLE-fieldQualifier-Value",
Type = Oci.LoganalyticsService.Models.LogAnalyticsParser.TypeEnum.Odl,
IsUserDeleted = true,
IsNamespaceAware = false,
Categories = new List<Oci.LoganalyticsService.Models.LogAnalyticsCategory>
{
new Oci.LoganalyticsService.Models.LogAnalyticsCategory
{
Name = "EXAMPLE-name-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Type = "EXAMPLE-type-Value",
IsSystem = false
}
},
IsPositionAware = false,
DependentSources = new List<Oci.LoganalyticsService.Models.DependentSource>
{
new Oci.LoganalyticsService.Models.DependentSource
{
SourceName = "EXAMPLE-sourceName-Value",
SourceDisplayName = "EXAMPLE-sourceDisplayName-Value",
SourceId = 231,
SourceType = "EXAMPLE-sourceType-Value",
IsSystem = false,
IsAutoAssociationEnabled = false,
EntityTypes = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType
{
SourceId = 810,
EntityType = "EXAMPLE-entityType-Value",
EntityTypeCategory = "EXAMPLE-entityTypeCategory-Value",
EntityTypeDisplayName = "EXAMPLE-entityTypeDisplayName-Value"
}
},
Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
{
new Oci.LoganalyticsService.Models.Dependency
{
Type = "EXAMPLE-type-Value",
ReferenceType = "EXAMPLE-referenceType-Value",
ReferenceId = 822,
ReferenceName = "EXAMPLE-referenceName-Value",
ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
}
}
}
},
DependentParsers = new List<Oci.LoganalyticsService.Models.DependentParser>
{
new Oci.LoganalyticsService.Models.DependentParser
{
ParserName = "EXAMPLE-parserName-Value",
ParserDisplayName = "EXAMPLE-parserDisplayName-Value",
ParserId = 849,
IsSystem = true,
ParserType = Oci.LoganalyticsService.Models.DependentParser.ParserTypeEnum.Delimited,
Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
{
new Oci.LoganalyticsService.Models.Dependency
{
Type = "EXAMPLE-type-Value",
ReferenceType = "EXAMPLE-referenceType-Value",
ReferenceId = 344,
ReferenceName = "EXAMPLE-referenceName-Value",
ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
}
}
}
}
},
StructuredColumnInfo = "EXAMPLE-structuredColumnInfo-Value",
Actions = new List<Oci.LoganalyticsService.Models.ParserAction>
{
new Oci.LoganalyticsService.Models.ParserAction
{
Name = "EXAMPLE-name-Value",
Order = 777
}
}
}
},
IsInclude = true,
IsDefault = true,
PatternFilter = new Oci.LoganalyticsService.Models.LogAnalyticsPatternFilter
{
AgentVersion = "EXAMPLE-agentVersion-Value",
IsInUse = true,
OperatingSystem = "EXAMPLE-operatingSystem-Value",
PatternId = 925,
SourceId = 451,
Version = "EXAMPLE-version-Value",
},
Alias = "EXAMPLE-alias-Value",
Description = "EXAMPLE-description-Value",
IsEnabled = false,
PatternId = 412,
IsSystem = true,
SourceId = 416,
IsAgentWarningSuppressed = true,
PatternText = "EXAMPLE-patternText-Value",
PatternType = 356,
EntityType = new List<string>
{
"EXAMPLE--Value"
},
PatternProperties = new List<Oci.LoganalyticsService.Models.LogAnalyticsProperty>
{
new Oci.LoganalyticsService.Models.LogAnalyticsProperty
{
Name = "EXAMPLE-name-Value",
Value = "EXAMPLE-value-Value"
}
}
}
},
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 799,
Functions = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceFunction>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceFunction
{
Arguments = new List<Oci.LoganalyticsService.Models.LogAnalyticsMetaFunctionArgument>
{
new Oci.LoganalyticsService.Models.LogAnalyticsMetaFunctionArgument
{
IsOverrideOutputFields = false,
ArgumentDisplayName = "EXAMPLE-argumentDisplayName-Value",
ArgumentExample = "EXAMPLE-argumentExample-Value",
ArgumentService = "EXAMPLE-argumentService-Value",
ArgumentDataType = "EXAMPLE-argumentDataType-Value",
ArgumentDescription = "EXAMPLE-argumentDescription-Value",
ArgumentName = "EXAMPLE-argumentName-Value",
ArgumentOrder = 423,
ArgumentType = 59,
ArgumentId = 642,
ArgumentLookupColumn = "EXAMPLE-argumentLookupColumn-Value",
ArgumentLookupColumnPosition = 309,
ArgumentValue = "EXAMPLE-argumentValue-Value",
ArgumentReference = "EXAMPLE-argumentReference-Value"
}
},
IsEnabled = false,
Function = new Oci.LoganalyticsService.Models.LogAnalyticsMetaFunction
{
MetaFunctionArgument = new List<Oci.LoganalyticsService.Models.LogAnalyticsMetaFunctionArgument>
{
new Oci.LoganalyticsService.Models.LogAnalyticsMetaFunctionArgument
{
IsOverrideOutputFields = false,
ArgumentDisplayName = "EXAMPLE-argumentDisplayName-Value",
ArgumentExample = "EXAMPLE-argumentExample-Value",
ArgumentService = "EXAMPLE-argumentService-Value",
ArgumentDataType = "EXAMPLE-argumentDataType-Value",
ArgumentDescription = "EXAMPLE-argumentDescription-Value",
ArgumentName = "EXAMPLE-argumentName-Value",
ArgumentOrder = 936,
ArgumentType = 736,
ArgumentId = 395,
ArgumentLookupColumn = "EXAMPLE-argumentLookupColumn-Value",
ArgumentLookupColumnPosition = 718,
ArgumentValue = "EXAMPLE-argumentValue-Value",
ArgumentReference = "EXAMPLE-argumentReference-Value"
}
},
Component = "EXAMPLE-component-Value",
Description = "EXAMPLE-description-Value",
EditVersion = 121,
MetaFunctionId = 624,
JavaClassName = "EXAMPLE-javaClassName-Value",
Name = "EXAMPLE-name-Value"
},
FunctionName = Oci.LoganalyticsService.Models.LogAnalyticsSourceFunction.FunctionNameEnum.Lookup,
FunctionReference = "EXAMPLE-functionReference-Value",
SourceReference = "EXAMPLE-sourceReference-Value",
Features = new List<string>
{
"EXAMPLE--Value"
},
FunctionId = 777,
Order = 271,
IsSystem = true,
LookupColumn = "EXAMPLE-lookupColumn-Value",
LookupColumnPosition = 23,
LookupDisplayName = "EXAMPLE-lookupDisplayName-Value",
LookupMode = 540,
LookupTable = "EXAMPLE-lookupTable-Value",
SourceId = 712
}
},
SourceId = 821,
Name = "EXAMPLE-name-Value",
IsSecureContent = false,
IsSystem = true,
Parsers = new List<Oci.LoganalyticsService.Models.LogAnalyticsParser>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParser
{
Content = "EXAMPLE-content-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 334,
Encoding = "EXAMPLE-encoding-Value",
ExampleContent = "EXAMPLE-exampleContent-Value",
FieldMaps = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserField>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserField
{
Field = new Oci.LoganalyticsService.Models.LogAnalyticsField
{
CeeAlias = "EXAMPLE-ceeAlias-Value",
DataType = "EXAMPLE-dataType-Value",
RegularExpression = "EXAMPLE-regularExpression-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 173,
FacetPriority = 691,
Name = "EXAMPLE-name-Value",
IsFacetEligible = true,
IsHighCardinality = true,
IsLargeData = false,
IsMultiValued = true,
IsPrimary = false,
IsSystem = true,
IsSummarizable = false,
MappedValue = "EXAMPLE-mappedValue-Value",
IsMetricKeyEligible = true,
IsMetricValueEligible = true,
RangeFacetEligible = 175,
IsTableEligible = false,
UnitType = "EXAMPLE-unitType-Value",
TimeUpdated = DateTime.Parse("04/01/2045 12:36:50"),
IsKeepDuplicates = true
},
ParserFieldId = 314,
ParserFieldExpression = "EXAMPLE-parserFieldExpression-Value",
ParserFieldName = "EXAMPLE-parserFieldName-Value",
StorageFieldName = "EXAMPLE-storageFieldName-Value",
ParserFieldIntegratorName = "EXAMPLE-parserFieldIntegratorName-Value",
ParserName = "EXAMPLE-parserName-Value",
ParserFieldSequence = 272,
StructuredColumnInfo = "EXAMPLE-structuredColumnInfo-Value",
Actions = new List<Oci.LoganalyticsService.Models.ParserAction>
{
new Oci.LoganalyticsService.Models.ParserAction
{
Name = "EXAMPLE-name-Value",
Order = 143
}
}
}
},
FooterContent = "EXAMPLE-footerContent-Value",
HeaderContent = "EXAMPLE-headerContent-Value",
Name = "EXAMPLE-name-Value",
IsDefault = false,
IsSingleLineContent = true,
IsSystem = false,
Language = "EXAMPLE-language-Value",
TimeUpdated = DateTime.Parse("03/14/2015 15:15:22"),
LogTypeTestRequestVersion = 483,
ParserIgnorelineCharacters = "EXAMPLE-parserIgnorelineCharacters-Value",
IsHidden = false,
ParserSequence = 487,
ParserTimezone = "EXAMPLE-parserTimezone-Value",
ParserFilter = new Oci.LoganalyticsService.Models.LogAnalyticsParserFilter
{
Id = "ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
AgentVersion = "EXAMPLE-agentVersion-Value",
IsInUse = 377,
OperatingSystem = "EXAMPLE-operatingSystem-Value",
ParserId = 845,
Version = "EXAMPLE-version-Value"
},
IsParserWrittenOnce = true,
ParserFunctions = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunction>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserFunction
{
ParserMetaPlugin = new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPlugin
{
MetaPluginParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter
{
Description = "EXAMPLE-description-Value",
Name = "EXAMPLE-name-Value",
IsMandatory = true,
IsRepeatable = true,
PluginName = "EXAMPLE-pluginName-Value",
Type = "EXAMPLE-type-Value"
}
},
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Name = "EXAMPLE-name-Value"
},
ParserFunctionId = 355,
ParserFunctionName = "EXAMPLE-parserFunctionName-Value",
IsEnabled = false,
IsSystem = false,
ParserId = 450,
ParserName = "EXAMPLE-parserName-Value",
ParserMetaPluginName = "EXAMPLE-parserMetaPluginName-Value",
ParserFunctionPriority = 55,
ParserFunctionParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter
{
ParserFunctionId = 210,
ParserFunctionParameterName = "EXAMPLE-parserFunctionParameterName-Value",
ParserFunctionParameterId = 456,
ParserMetaPluginParameterName = "EXAMPLE-parserMetaPluginParameterName-Value",
ParserMetaPluginParameterValue = "EXAMPLE-parserMetaPluginParameterValue-Value",
ParserName = "EXAMPLE-parserName-Value",
ParserMetaPluginParameter = new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter
{
Description = "EXAMPLE-description-Value",
Name = "EXAMPLE-name-Value",
IsMandatory = false,
IsRepeatable = true,
PluginName = "EXAMPLE-pluginName-Value",
Type = "EXAMPLE-type-Value"
}
}
}
}
},
SourcesCount = 195,
ShouldTokenizeOriginalText = false,
FieldDelimiter = "EXAMPLE-fieldDelimiter-Value",
FieldQualifier = "EXAMPLE-fieldQualifier-Value",
Type = Oci.LoganalyticsService.Models.LogAnalyticsParser.TypeEnum.Regex,
IsUserDeleted = false,
IsNamespaceAware = true,
Categories = new List<Oci.LoganalyticsService.Models.LogAnalyticsCategory>
{
new Oci.LoganalyticsService.Models.LogAnalyticsCategory
{
Name = "EXAMPLE-name-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Type = "EXAMPLE-type-Value",
IsSystem = true
}
},
IsPositionAware = false,
DependentSources = new List<Oci.LoganalyticsService.Models.DependentSource>
{
new Oci.LoganalyticsService.Models.DependentSource
{
SourceName = "EXAMPLE-sourceName-Value",
SourceDisplayName = "EXAMPLE-sourceDisplayName-Value",
SourceId = 47,
SourceType = "EXAMPLE-sourceType-Value",
IsSystem = false,
IsAutoAssociationEnabled = false,
EntityTypes = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType
{
SourceId = 410,
EntityType = "EXAMPLE-entityType-Value",
EntityTypeCategory = "EXAMPLE-entityTypeCategory-Value",
EntityTypeDisplayName = "EXAMPLE-entityTypeDisplayName-Value"
}
},
Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
{
new Oci.LoganalyticsService.Models.Dependency
{
Type = "EXAMPLE-type-Value",
ReferenceType = "EXAMPLE-referenceType-Value",
ReferenceId = 962,
ReferenceName = "EXAMPLE-referenceName-Value",
ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
}
}
}
},
DependentParsers = new List<Oci.LoganalyticsService.Models.DependentParser>
{
new Oci.LoganalyticsService.Models.DependentParser
{
ParserName = "EXAMPLE-parserName-Value",
ParserDisplayName = "EXAMPLE-parserDisplayName-Value",
ParserId = 774,
IsSystem = false,
ParserType = Oci.LoganalyticsService.Models.DependentParser.ParserTypeEnum.Delimited,
Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
{
new Oci.LoganalyticsService.Models.Dependency
{
Type = "EXAMPLE-type-Value",
ReferenceType = "EXAMPLE-referenceType-Value",
ReferenceId = 515,
ReferenceName = "EXAMPLE-referenceName-Value",
ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
}
}
}
}
}
},
IsAutoAssociationEnabled = true,
IsAutoAssociationOverride = true,
RuleId = 9,
TypeName = "EXAMPLE-typeName-Value",
TypeDisplayName = "EXAMPLE-typeDisplayName-Value",
WarningConfig = 835,
MetadataFields = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceMetadataField>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceMetadataField
{
FieldName = "EXAMPLE-fieldName-Value",
IsEnabled = false,
IsSystem = false,
Key = "EXAMPLE-key-Value",
SourceName = "EXAMPLE-sourceName-Value"
}
},
LabelDefinitions = new List<Oci.LoganalyticsService.Models.LogAnalyticsLabelDefinition>
{
new Oci.LoganalyticsService.Models.LogAnalyticsLabelDefinition
{
EditVersion = 948,
IsSystem = true,
SourceId = 986,
LabelName = "EXAMPLE-labelName-Value"
}
},
EntityTypes = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType
{
SourceId = 46,
EntityType = "EXAMPLE-entityType-Value",
EntityTypeCategory = "EXAMPLE-entityTypeCategory-Value",
EntityTypeDisplayName = "EXAMPLE-entityTypeDisplayName-Value"
}
},
IsTimezoneOverride = true,
UserParsers = new List<Oci.LoganalyticsService.Models.LogAnalyticsParser>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParser
{
Content = "EXAMPLE-content-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 992,
Encoding = "EXAMPLE-encoding-Value",
ExampleContent = "EXAMPLE-exampleContent-Value",
FieldMaps = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserField>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserField
{
Field = new Oci.LoganalyticsService.Models.LogAnalyticsField
{
CeeAlias = "EXAMPLE-ceeAlias-Value",
DataType = "EXAMPLE-dataType-Value",
RegularExpression = "EXAMPLE-regularExpression-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
EditVersion = 783,
FacetPriority = 599,
Name = "EXAMPLE-name-Value",
IsFacetEligible = false,
IsHighCardinality = true,
IsLargeData = false,
IsMultiValued = true,
IsPrimary = true,
IsSystem = false,
IsSummarizable = false,
MappedValue = "EXAMPLE-mappedValue-Value",
IsMetricKeyEligible = true,
IsMetricValueEligible = true,
RangeFacetEligible = 266,
IsTableEligible = false,
UnitType = "EXAMPLE-unitType-Value",
TimeUpdated = DateTime.Parse("11/09/2021 15:01:04"),
IsKeepDuplicates = false
},
ParserFieldId = 178,
ParserFieldExpression = "EXAMPLE-parserFieldExpression-Value",
ParserFieldName = "EXAMPLE-parserFieldName-Value",
StorageFieldName = "EXAMPLE-storageFieldName-Value",
ParserFieldIntegratorName = "EXAMPLE-parserFieldIntegratorName-Value",
ParserName = "EXAMPLE-parserName-Value",
ParserFieldSequence = 671,
StructuredColumnInfo = "EXAMPLE-structuredColumnInfo-Value",
Actions = new List<Oci.LoganalyticsService.Models.ParserAction>
{
new Oci.LoganalyticsService.Models.ParserAction
{
Name = "EXAMPLE-name-Value",
Order = 219
}
}
}
},
FooterContent = "EXAMPLE-footerContent-Value",
HeaderContent = "EXAMPLE-headerContent-Value",
Name = "EXAMPLE-name-Value",
IsDefault = true,
IsSingleLineContent = false,
IsSystem = true,
Language = "EXAMPLE-language-Value",
TimeUpdated = DateTime.Parse("07/03/2034 18:39:48"),
LogTypeTestRequestVersion = 106,
ParserIgnorelineCharacters = "EXAMPLE-parserIgnorelineCharacters-Value",
IsHidden = false,
ParserSequence = 26,
ParserTimezone = "EXAMPLE-parserTimezone-Value",
ParserFilter = new Oci.LoganalyticsService.Models.LogAnalyticsParserFilter
{
Id = "ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
AgentVersion = "EXAMPLE-agentVersion-Value",
IsInUse = 762,
OperatingSystem = "EXAMPLE-operatingSystem-Value",
ParserId = 772,
Version = "EXAMPLE-version-Value"
},
IsParserWrittenOnce = true,
ParserFunctions = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunction>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserFunction
{
ParserMetaPlugin = new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPlugin
{
MetaPluginParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter
{
Description = "EXAMPLE-description-Value",
Name = "EXAMPLE-name-Value",
IsMandatory = true,
IsRepeatable = false,
PluginName = "EXAMPLE-pluginName-Value",
Type = "EXAMPLE-type-Value"
}
},
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Name = "EXAMPLE-name-Value"
},
ParserFunctionId = 166,
ParserFunctionName = "EXAMPLE-parserFunctionName-Value",
IsEnabled = false,
IsSystem = true,
ParserId = 543,
ParserName = "EXAMPLE-parserName-Value",
ParserMetaPluginName = "EXAMPLE-parserMetaPluginName-Value",
ParserFunctionPriority = 568,
ParserFunctionParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter>
{
new Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter
{
ParserFunctionId = 581,
ParserFunctionParameterName = "EXAMPLE-parserFunctionParameterName-Value",
ParserFunctionParameterId = 321,
ParserMetaPluginParameterName = "EXAMPLE-parserMetaPluginParameterName-Value",
ParserMetaPluginParameterValue = "EXAMPLE-parserMetaPluginParameterValue-Value",
ParserName = "EXAMPLE-parserName-Value",
ParserMetaPluginParameter = new Oci.LoganalyticsService.Models.LogAnalyticsParserMetaPluginParameter
{
Description = "EXAMPLE-description-Value",
Name = "EXAMPLE-name-Value",
IsMandatory = true,
IsRepeatable = true,
PluginName = "EXAMPLE-pluginName-Value",
Type = "EXAMPLE-type-Value"
}
}
}
}
},
SourcesCount = 447,
ShouldTokenizeOriginalText = true,
FieldDelimiter = "EXAMPLE-fieldDelimiter-Value",
FieldQualifier = "EXAMPLE-fieldQualifier-Value",
Type = Oci.LoganalyticsService.Models.LogAnalyticsParser.TypeEnum.Json,
IsUserDeleted = false,
IsNamespaceAware = false,
Categories = new List<Oci.LoganalyticsService.Models.LogAnalyticsCategory>
{
new Oci.LoganalyticsService.Models.LogAnalyticsCategory
{
Name = "EXAMPLE-name-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Type = "EXAMPLE-type-Value",
IsSystem = false
}
},
IsPositionAware = false,
DependentSources = new List<Oci.LoganalyticsService.Models.DependentSource>
{
new Oci.LoganalyticsService.Models.DependentSource
{
SourceName = "EXAMPLE-sourceName-Value",
SourceDisplayName = "EXAMPLE-sourceDisplayName-Value",
SourceId = 172,
SourceType = "EXAMPLE-sourceType-Value",
IsSystem = false,
IsAutoAssociationEnabled = true,
EntityTypes = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType>
{
new Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType
{
SourceId = 564,
EntityType = "EXAMPLE-entityType-Value",
EntityTypeCategory = "EXAMPLE-entityTypeCategory-Value",
EntityTypeDisplayName = "EXAMPLE-entityTypeDisplayName-Value"
}
},
Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
{
new Oci.LoganalyticsService.Models.Dependency
{
Type = "EXAMPLE-type-Value",
ReferenceType = "EXAMPLE-referenceType-Value",
ReferenceId = 448,
ReferenceName = "EXAMPLE-referenceName-Value",
ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
}
}
}
},
DependentParsers = new List<Oci.LoganalyticsService.Models.DependentParser>
{
new Oci.LoganalyticsService.Models.DependentParser
{
ParserName = "EXAMPLE-parserName-Value",
ParserDisplayName = "EXAMPLE-parserDisplayName-Value",
ParserId = 656,
IsSystem = false,
ParserType = Oci.LoganalyticsService.Models.DependentParser.ParserTypeEnum.Odl,
Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
{
new Oci.LoganalyticsService.Models.Dependency
{
Type = "EXAMPLE-type-Value",
ReferenceType = "EXAMPLE-referenceType-Value",
ReferenceId = 352,
ReferenceName = "EXAMPLE-referenceName-Value",
ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
}
}
}
}
}
},
TimeUpdated = DateTime.Parse("01/13/2017 01:01:36"),
EventTypes = new List<Oci.LoganalyticsService.Models.EventType>
{
new Oci.LoganalyticsService.Models.EventType
{
EventTypeName = "EXAMPLE-eventTypeName-Value",
SpecVersion = "EXAMPLE-specVersion-Value",
IsEnabled = false,
IsSystem = false,
TimeUpdated = DateTime.Parse("06/21/2029 23:33:58")
}
},
Categories = new List<Oci.LoganalyticsService.Models.LogAnalyticsCategory>
{
new Oci.LoganalyticsService.Models.LogAnalyticsCategory
{
Name = "EXAMPLE-name-Value",
Description = "EXAMPLE-description-Value",
DisplayName = "EXAMPLE-displayName-Value",
Type = "EXAMPLE-type-Value",
IsSystem = true
}
},
Endpoints = new List<Oci.LoganalyticsService.Models.LogAnalyticsEndpoint>
{
new Oci.LoganalyticsService.Models.LogTypeEndpoint
{
LogEndpoint = new Oci.LoganalyticsService.Models.LogEndpoint
{
Name = "EXAMPLE-name-Value",
Description = "EXAMPLE-description-Value",
Model = "EXAMPLE-model-Value",
EndpointId = 93,
Request = new Oci.LoganalyticsService.Models.EndpointRequest
{
Method = Oci.LoganalyticsService.Models.EndpointRequest.MethodEnum.Get,
Url = "EXAMPLE-url-Value",
ContentType = "EXAMPLE-contentType-Value",
Payload = "EXAMPLE-payload-Value",
Headers = new List<Oci.LoganalyticsService.Models.NameValuePair>
{
new Oci.LoganalyticsService.Models.NameValuePair
{
Name = "EXAMPLE-name-Value",
Value = "EXAMPLE-value-Value"
}
},
FormParameters = new List<Oci.LoganalyticsService.Models.NameValuePair>
{
new Oci.LoganalyticsService.Models.NameValuePair
{
Name = "EXAMPLE-name-Value",
Value = "EXAMPLE-value-Value"
}
}
},
Response = new Oci.LoganalyticsService.Models.EndpointResponse
{
ContentType = "EXAMPLE-contentType-Value",
Example = "EXAMPLE-example-Value"
},
Credentials = new Oci.LoganalyticsService.Models.EndpointCredentials
{
CredentialType = Oci.LoganalyticsService.Models.EndpointCredentials.CredentialTypeEnum.DynamicToken,
CredentialName = "EXAMPLE-credentialName-Value",
CredentialEndpoint = new Oci.LoganalyticsService.Models.CredentialEndpoint
{
Name = "EXAMPLE-name-Value",
Description = "EXAMPLE-description-Value",
Model = "EXAMPLE-model-Value",
EndpointId = 803,
Response = new Oci.LoganalyticsService.Models.EndpointResponse
{
ContentType = "EXAMPLE-contentType-Value",
Example = "EXAMPLE-example-Value"
},
Proxy = new Oci.LoganalyticsService.Models.EndpointProxy
{
Url = "EXAMPLE-url-Value",
CredentialName = "EXAMPLE-credentialName-Value",
CredentialType = Oci.LoganalyticsService.Models.EndpointProxy.CredentialTypeEnum.Token
}
}
},
Proxy = new Oci.LoganalyticsService.Models.EndpointProxy
{
Url = "EXAMPLE-url-Value",
CredentialName = "EXAMPLE-credentialName-Value",
CredentialType = Oci.LoganalyticsService.Models.EndpointProxy.CredentialTypeEnum.None
},
IsEnabled = false,
IsSystem = true,
EndpointProperties = new List<Oci.LoganalyticsService.Models.LogAnalyticsProperty>
{
new Oci.LoganalyticsService.Models.LogAnalyticsProperty
{
Name = "EXAMPLE-name-Value",
Value = "EXAMPLE-value-Value"
}
}
}
}
},
SourceProperties = new List<Oci.LoganalyticsService.Models.LogAnalyticsProperty>
{
new Oci.LoganalyticsService.Models.LogAnalyticsProperty
{
Name = "EXAMPLE-name-Value",
Value = "EXAMPLE-value-Value"
}
}
};
var validateSourceExtendedFieldDetailsRequest = new Oci.LoganalyticsService.Requests.ValidateSourceExtendedFieldDetailsRequest
{
NamespaceName = "EXAMPLE-namespaceName-Value",
LogAnalyticsSource = logAnalyticsSource,
OpcRetryToken = "EXAMPLE-opcRetryToken-Value",
OpcRequestId = "PR7WVUUO8BHQWNERVSIT<unique_ID>"
};
// Create a default authentication provider that uses the DEFAULT
// profile in the configuration file.
// Refer to <see href="https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/sdkconfig.htm#SDK_and_CLI_Configuration_File>the public documentation</see> on how to prepare a configuration file.
var provider = new ConfigFileAuthenticationDetailsProvider("DEFAULT");
try
{
// Create a service client and send the request.
using (var client = new LogAnalyticsClient(provider, new ClientConfiguration()))
{
var response = await client.ValidateSourceExtendedFieldDetails(validateSourceExtendedFieldDetailsRequest);
// Retrieve value from the response.
var itemsValue = response.ExtendedFieldsValidationResult.Items;
}
}
catch (Exception e)
{
Console.WriteLine($"ValidateSourceExtendedFieldDetails Failed with {e.Message}");
throw e;
}
}
}
}