// 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 ExtractStructuredLogHeaderPathsExample
    {
        public static async Task Main()
        {
            // Create a request and dependent object(s).
			var logAnalyticsParser = new Oci.LoganalyticsService.Models.LogAnalyticsParser
			{
				Content = "EXAMPLE-content-Value",
				Description = "EXAMPLE-description-Value",
				DisplayName = "EXAMPLE-displayName-Value",
				EditVersion = 341,
				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 = 124,
							FacetPriority = 71,
							Name = "EXAMPLE-name-Value",
							IsFacetEligible = true,
							IsHighCardinality = true,
							IsLargeData = true,
							IsMultiValued = true,
							IsPrimary = false,
							IsSystem = true,
							IsSummarizable = true,
							MappedValue = "EXAMPLE-mappedValue-Value",
							IsMetricKeyEligible = true,
							IsMetricValueEligible = true,
							RangeFacetEligible = 784,
							IsTableEligible = true,
							UnitType = "EXAMPLE-unitType-Value",
							TimeUpdated = DateTime.Parse("12/11/2028 01:55:21"),
							IsKeepDuplicates = false
						},
						ParserFieldId = 825,
						ParserFieldExpression = "EXAMPLE-parserFieldExpression-Value",
						ParserFieldName = "EXAMPLE-parserFieldName-Value",
						StorageFieldName = "EXAMPLE-storageFieldName-Value",
						ParserFieldIntegratorName = "EXAMPLE-parserFieldIntegratorName-Value",
						ParserName = "EXAMPLE-parserName-Value",
						ParserFieldSequence = 441,
						StructuredColumnInfo = "EXAMPLE-structuredColumnInfo-Value",
						Actions = new List<Oci.LoganalyticsService.Models.ParserAction>
						{
							new Oci.LoganalyticsService.Models.ParserAction
							{
								Name = "EXAMPLE-name-Value",
								Order = 229
							}
						}
					}
				},
				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("05/26/2013 11:11:18"),
				LogTypeTestRequestVersion = 815,
				ParserIgnorelineCharacters = "EXAMPLE-parserIgnorelineCharacters-Value",
				IsHidden = false,
				ParserSequence = 176,
				ParserTimezone = "EXAMPLE-parserTimezone-Value",
				ParserFilter = new Oci.LoganalyticsService.Models.LogAnalyticsParserFilter
				{
					Id = "ocid1.test.oc1..<unique_ID>EXAMPLE-id-Value",
					AgentVersion = "EXAMPLE-agentVersion-Value",
					IsInUse = 696,
					OperatingSystem = "EXAMPLE-operatingSystem-Value",
					ParserId = 846,
					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 = false,
									IsRepeatable = true,
									PluginName = "EXAMPLE-pluginName-Value",
									Type = "EXAMPLE-type-Value"
								}
							},
							Description = "EXAMPLE-description-Value",
							DisplayName = "EXAMPLE-displayName-Value",
							Name = "EXAMPLE-name-Value"
						},
						ParserFunctionId = 892,
						ParserFunctionName = "EXAMPLE-parserFunctionName-Value",
						IsEnabled = true,
						IsSystem = false,
						ParserId = 522,
						ParserName = "EXAMPLE-parserName-Value",
						ParserMetaPluginName = "EXAMPLE-parserMetaPluginName-Value",
						ParserFunctionPriority = 667,
						ParserFunctionParameters = new List<Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter>
						{
							new Oci.LoganalyticsService.Models.LogAnalyticsParserFunctionParameter
							{
								ParserFunctionId = 290,
								ParserFunctionParameterName = "EXAMPLE-parserFunctionParameterName-Value",
								ParserFunctionParameterId = 435,
								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 = false,
									PluginName = "EXAMPLE-pluginName-Value",
									Type = "EXAMPLE-type-Value"
								}
							}
						}
					}
				},
				SourcesCount = 722,
				Sources = new List<Oci.LoganalyticsService.Models.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.And,
									FieldName = "EXAMPLE-fieldName-Value",
									LabelConditionOperator = "EXAMPLE-labelConditionOperator-Value",
									LabelConditionValue = "EXAMPLE-labelConditionValue-Value",
									LabelConditionValues = new List<string>
									{
										"EXAMPLE--Value"
									},
								},
								Message = "EXAMPLE-message-Value",
								IsVisible = false,
								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 = false,
								FieldName = "EXAMPLE-fieldName-Value",
								LabelConditionId = 959,
								IsSystem = true,
								LabelConditionOperator = "EXAMPLE-labelConditionOperator-Value",
								SourceId = 617,
								LabelDisplayName = "EXAMPLE-labelDisplayName-Value",
								StorageField = "EXAMPLE-storageField-Value",
								LabelName = "EXAMPLE-labelName-Value",
								IsInlineLabelExistingInDatabase = true
							}
						},
						AssociationCount = 409,
						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("02/10/2037 11:00:38"),
								RetryCount = 305,
								SourceName = "EXAMPLE-sourceName-Value",
								SourceDisplayName = "EXAMPLE-sourceDisplayName-Value",
								SourceTypeName = "EXAMPLE-sourceTypeName-Value",
								LifeCycleState = Oci.LoganalyticsService.Models.LogAnalyticsAssociation.LifeCycleStateEnum.Succeeded,
								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 = 762,
								IsEnabled = false,
								FieldName = "EXAMPLE-fieldName-Value",
								HashType = 603,
								DataFilterId = 443,
								IsSystem = false,
								MatchRegularExpression = "EXAMPLE-matchRegularExpression-Value",
								Order = 422,
								Path = "EXAMPLE-path-Value",
								ReplacementString = "EXAMPLE-replacementString-Value",
								SourceId = 579,
								FilterType = Oci.LoganalyticsService.Models.LogAnalyticsSourceDataFilter.FilterTypeEnum.Mask
							}
						},
						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 = 22,
									FacetPriority = 20,
									Name = "EXAMPLE-name-Value",
									IsFacetEligible = true,
									IsHighCardinality = false,
									IsLargeData = true,
									IsMultiValued = true,
									IsPrimary = true,
									IsSystem = false,
									IsSummarizable = false,
									MappedValue = "EXAMPLE-mappedValue-Value",
									IsMetricKeyEligible = true,
									IsMetricValueEligible = true,
									RangeFacetEligible = 566,
									IsTableEligible = true,
									UnitType = "EXAMPLE-unitType-Value",
									TimeUpdated = DateTime.Parse("05/23/2002 05:50:04"),
									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 = 181,
											FacetPriority = 103,
											Name = "EXAMPLE-name-Value",
											IsFacetEligible = true,
											IsHighCardinality = false,
											IsLargeData = true,
											IsMultiValued = true,
											IsPrimary = true,
											IsSystem = true,
											IsSummarizable = false,
											MappedValue = "EXAMPLE-mappedValue-Value",
											IsMetricKeyEligible = true,
											IsMetricValueEligible = false,
											RangeFacetEligible = 560,
											IsTableEligible = true,
											UnitType = "EXAMPLE-unitType-Value",
											TimeUpdated = DateTime.Parse("02/24/2036 07:30:27"),
											IsKeepDuplicates = false
										},
										ExtendedFieldDefinitionId = 56,
										FieldName = "EXAMPLE-fieldName-Value",
										FieldDisplayName = "EXAMPLE-fieldDisplayName-Value",
										SavedRegularExpressionName = "EXAMPLE-savedRegularExpressionName-Value",
										ExtendedFieldId = 108
									}
								},
								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 = true,
								ExtendedFieldDefinitionId = 568,
								IsSystem = true,
								RegularExpression = "EXAMPLE-regularExpression-Value",
								SourceId = 273,
								TimeUpdated = DateTime.Parse("10/03/2013 14:21:34"),
								ConditionString = "EXAMPLE-conditionString-Value",
								ConditionBlock = new Oci.LoganalyticsService.Models.GenericConditionBlock
								{
									ConditionBlocksOperator = Oci.LoganalyticsService.Models.GenericConditionBlock.ConditionBlocksOperatorEnum.And,
									Name = "EXAMPLE-name-Value",
									Operator = "EXAMPLE-operator-Value",
									Value = "EXAMPLE-value-Value",
									Values = new List<string>
									{
										"EXAMPLE--Value"
									},
								}
							}
						},
						IsForCloud = true,
						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 = false,
										DisplayName = "EXAMPLE-displayName-Value",
										Name = "EXAMPLE-name-Value",
										Priority = Oci.LoganalyticsService.Models.LogAnalyticsLabelAlias.PriorityEnum.High
									}
								},
								CountUsageInAlertRule = 354,
								CountUsageInSource = 721,
								Id = "EXAMPLE-id-Value",
								SuggestType = 705,
								Description = "EXAMPLE-description-Value",
								DisplayName = "EXAMPLE-displayName-Value",
								EditVersion = 69,
								Impact = "EXAMPLE-impact-Value",
								IsSystem = true,
								Name = "EXAMPLE-name-Value",
								Priority = Oci.LoganalyticsService.Models.LogAnalyticsLabelView.PriorityEnum.None,
								Recommendation = "EXAMPLE-recommendation-Value",
								Type = 823,
								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 = 57,
								FieldName = "EXAMPLE-fieldName-Value",
								FieldValues = new List<string>
								{
									"EXAMPLE--Value"
								},
								GroupingField = "EXAMPLE-groupingField-Value",
								IsEnabled = false,
								IsSystem = false,
								DisplayName = "EXAMPLE-displayName-Value",
								MetricReference = 333,
								Name = "EXAMPLE-name-Value",
								MetricType = Oci.LoganalyticsService.Models.LogAnalyticsMetric.MetricTypeEnum.Count,
								IsMetricSourceEnabled = false,
								Operator = Oci.LoganalyticsService.Models.LogAnalyticsMetric.OperatorEnum.EqualIgnoreCase,
								EntityType = "EXAMPLE-entityType-Value",
								TimeUpdated = DateTime.Parse("04/28/2024 00:56:23"),
								UnitType = "EXAMPLE-unitType-Value",
								IsUserCustomized = false
							}
						},
						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"
							}
						},
						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 = 544
							}
						},
						PatternCount = 482,
						Patterns = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourcePattern>
						{
							new Oci.LoganalyticsService.Models.LogAnalyticsSourcePattern
							{
								ConvertedText = "EXAMPLE-convertedText-Value",
								DbParserId = 993,
								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 = 221,
											FacetPriority = 937,
											Name = "EXAMPLE-name-Value",
											IsFacetEligible = false,
											IsHighCardinality = true,
											IsLargeData = true,
											IsMultiValued = false,
											IsPrimary = true,
											IsSystem = false,
											IsSummarizable = true,
											MappedValue = "EXAMPLE-mappedValue-Value",
											IsMetricKeyEligible = true,
											IsMetricValueEligible = true,
											RangeFacetEligible = 119,
											IsTableEligible = true,
											UnitType = "EXAMPLE-unitType-Value",
											TimeUpdated = DateTime.Parse("04/20/2027 21:04:02"),
											IsKeepDuplicates = true
										},
										ParserFieldId = 853,
										ParserFieldExpression = "EXAMPLE-parserFieldExpression-Value",
										ParserFieldName = "EXAMPLE-parserFieldName-Value",
										StorageFieldName = "EXAMPLE-storageFieldName-Value",
										ParserFieldIntegratorName = "EXAMPLE-parserFieldIntegratorName-Value",
										ParserName = "EXAMPLE-parserName-Value",
										ParserFieldSequence = 518,
										StructuredColumnInfo = "EXAMPLE-structuredColumnInfo-Value",
										Actions = new List<Oci.LoganalyticsService.Models.ParserAction>
										{
											new Oci.LoganalyticsService.Models.ParserAction
											{
												Name = "EXAMPLE-name-Value",
												Order = 700
											}
										}
									}
								},
								IsInclude = true,
								IsDefault = false,
								PatternFilter = new Oci.LoganalyticsService.Models.LogAnalyticsPatternFilter
								{
									AgentVersion = "EXAMPLE-agentVersion-Value",
									IsInUse = false,
									OperatingSystem = "EXAMPLE-operatingSystem-Value",
									PatternId = 922,
									SourceId = 291,
									Version = "EXAMPLE-version-Value",
								},
								Alias = "EXAMPLE-alias-Value",
								Description = "EXAMPLE-description-Value",
								IsEnabled = true,
								PatternId = 830,
								IsSystem = false,
								SourceId = 999,
								IsAgentWarningSuppressed = false,
								PatternText = "EXAMPLE-patternText-Value",
								PatternType = 198,
								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 = 643,
						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 = 304,
										ArgumentType = 164,
										ArgumentId = 991,
										ArgumentLookupColumn = "EXAMPLE-argumentLookupColumn-Value",
										ArgumentLookupColumnPosition = 876,
										ArgumentValue = "EXAMPLE-argumentValue-Value",
										ArgumentReference = "EXAMPLE-argumentReference-Value"
									}
								},
								IsEnabled = true,
								Function = new Oci.LoganalyticsService.Models.LogAnalyticsMetaFunction
								{
									MetaFunctionArgument = new List<Oci.LoganalyticsService.Models.LogAnalyticsMetaFunctionArgument>
									{
										new Oci.LoganalyticsService.Models.LogAnalyticsMetaFunctionArgument
										{
											IsOverrideOutputFields = true,
											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 = 931,
											ArgumentType = 966,
											ArgumentId = 590,
											ArgumentLookupColumn = "EXAMPLE-argumentLookupColumn-Value",
											ArgumentLookupColumnPosition = 859,
											ArgumentValue = "EXAMPLE-argumentValue-Value",
											ArgumentReference = "EXAMPLE-argumentReference-Value"
										}
									},
									Component = "EXAMPLE-component-Value",
									Description = "EXAMPLE-description-Value",
									EditVersion = 513,
									MetaFunctionId = 950,
									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 = 279,
								Order = 744,
								IsSystem = true,
								LookupColumn = "EXAMPLE-lookupColumn-Value",
								LookupColumnPosition = 316,
								LookupDisplayName = "EXAMPLE-lookupDisplayName-Value",
								LookupMode = 64,
								LookupTable = "EXAMPLE-lookupTable-Value",
								SourceId = 398
							}
						},
						SourceId = 13,
						Name = "EXAMPLE-name-Value",
						IsSecureContent = false,
						IsSystem = false,
						IsAutoAssociationEnabled = false,
						IsAutoAssociationOverride = false,
						RuleId = 385,
						TypeName = "EXAMPLE-typeName-Value",
						TypeDisplayName = "EXAMPLE-typeDisplayName-Value",
						WarningConfig = 551,
						MetadataFields = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceMetadataField>
						{
							new Oci.LoganalyticsService.Models.LogAnalyticsSourceMetadataField
							{
								FieldName = "EXAMPLE-fieldName-Value",
								IsEnabled = true,
								IsSystem = false,
								Key = "EXAMPLE-key-Value",
								SourceName = "EXAMPLE-sourceName-Value"
							}
						},
						LabelDefinitions = new List<Oci.LoganalyticsService.Models.LogAnalyticsLabelDefinition>
						{
							new Oci.LoganalyticsService.Models.LogAnalyticsLabelDefinition
							{
								EditVersion = 598,
								IsSystem = true,
								SourceId = 275,
								LabelName = "EXAMPLE-labelName-Value"
							}
						},
						EntityTypes = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType>
						{
							new Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType
							{
								SourceId = 653,
								EntityType = "EXAMPLE-entityType-Value",
								EntityTypeCategory = "EXAMPLE-entityTypeCategory-Value",
								EntityTypeDisplayName = "EXAMPLE-entityTypeDisplayName-Value"
							}
						},
						IsTimezoneOverride = false,
						TimeUpdated = DateTime.Parse("09/17/2045 17:08:55"),
						EventTypes = new List<Oci.LoganalyticsService.Models.EventType>
						{
							new Oci.LoganalyticsService.Models.EventType
							{
								EventTypeName = "EXAMPLE-eventTypeName-Value",
								SpecVersion = "EXAMPLE-specVersion-Value",
								IsEnabled = true,
								IsSystem = false,
								TimeUpdated = DateTime.Parse("09/13/2029 12:39: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 = false
							}
						},
						Endpoints = new List<Oci.LoganalyticsService.Models.LogAnalyticsEndpoint>
						{
							new Oci.LoganalyticsService.Models.LogListTypeEndpoint
							{
								ListEndpoint = new Oci.LoganalyticsService.Models.LogListEndpoint
								{
									Name = "EXAMPLE-name-Value",
									Description = "EXAMPLE-description-Value",
									Model = "EXAMPLE-model-Value",
									EndpointId = 151,
									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.StaticToken,
										CredentialName = "EXAMPLE-credentialName-Value",
										CredentialEndpoint = new Oci.LoganalyticsService.Models.CredentialEndpoint
										{
											Name = "EXAMPLE-name-Value",
											Description = "EXAMPLE-description-Value",
											Model = "EXAMPLE-model-Value",
											EndpointId = 310,
											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"
										}
									}
								},
								LogEndpoints = new List<Oci.LoganalyticsService.Models.LogEndpoint>
								{
									new Oci.LoganalyticsService.Models.LogEndpoint
									{
										Name = "EXAMPLE-name-Value",
										Description = "EXAMPLE-description-Value",
										Model = "EXAMPLE-model-Value",
										EndpointId = 221,
										Request = new Oci.LoganalyticsService.Models.EndpointRequest
										{
											Method = Oci.LoganalyticsService.Models.EndpointRequest.MethodEnum.Post,
											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.StaticToken,
											CredentialName = "EXAMPLE-credentialName-Value",
											CredentialEndpoint = new Oci.LoganalyticsService.Models.CredentialEndpoint
											{
												Name = "EXAMPLE-name-Value",
												Description = "EXAMPLE-description-Value",
												Model = "EXAMPLE-model-Value",
												EndpointId = 301,
												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.Token
										},
										IsEnabled = false,
										IsSystem = false,
										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"
							}
						}
					}
				},
				ShouldTokenizeOriginalText = true,
				FieldDelimiter = "EXAMPLE-fieldDelimiter-Value",
				FieldQualifier = "EXAMPLE-fieldQualifier-Value",
				Type = Oci.LoganalyticsService.Models.LogAnalyticsParser.TypeEnum.Delimited,
				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 = true,
				DependentSources = new List<Oci.LoganalyticsService.Models.DependentSource>
				{
					new Oci.LoganalyticsService.Models.DependentSource
					{
						SourceName = "EXAMPLE-sourceName-Value",
						SourceDisplayName = "EXAMPLE-sourceDisplayName-Value",
						SourceId = 498,
						SourceType = "EXAMPLE-sourceType-Value",
						IsSystem = true,
						IsAutoAssociationEnabled = true,
						EntityTypes = new List<Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType>
						{
							new Oci.LoganalyticsService.Models.LogAnalyticsSourceEntityType
							{
								SourceId = 520,
								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 = 111,
								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 = 63,
						IsSystem = true,
						ParserType = Oci.LoganalyticsService.Models.DependentParser.ParserTypeEnum.Xml,
						Dependencies = new List<Oci.LoganalyticsService.Models.Dependency>
						{
							new Oci.LoganalyticsService.Models.Dependency
							{
								Type = "EXAMPLE-type-Value",
								ReferenceType = "EXAMPLE-referenceType-Value",
								ReferenceId = 582,
								ReferenceName = "EXAMPLE-referenceName-Value",
								ReferenceDisplayName = "EXAMPLE-referenceDisplayName-Value"
							}
						}
					}
				}
			};
			var extractStructuredLogHeaderPathsRequest = new Oci.LoganalyticsService.Requests.ExtractStructuredLogHeaderPathsRequest
			{
				NamespaceName = "EXAMPLE-namespaceName-Value",
				LoganParserDetails = logAnalyticsParser,
				ParserType = Oci.LoganalyticsService.Requests.ExtractStructuredLogHeaderPathsRequest.ParserTypeEnum.Json,
				OpcRetryToken = "EXAMPLE-opcRetryToken-Value",
				OpcRequestId = "ZEYOUSQUSY9LTYCBSVLO<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.ExtractStructuredLogHeaderPaths(extractStructuredLogHeaderPathsRequest);
					// Retrieve value from the response.
					var jsonPathsValue = response.ExtractLogHeaderResults.JsonPaths;
				}
            }
            catch (Exception e)
            {
                Console.WriteLine($"ExtractStructuredLogHeaderPaths Failed with {e.Message}");
                throw e;
            }
        }

    }
}

Was this article helpful?