Class GrokPattern
Grok pattern object.
Inherited Members
Namespace: Oci.LoggingService.Models
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
public class GrokPattern
Properties
FieldTimeFormat
Declaration
[JsonProperty(PropertyName = "fieldTimeFormat")]
public string FieldTimeFormat { get; set; }
Property Value
Type | Description |
---|---|
string | Process value using the specified format. This is available only when time_type is a string. |
FieldTimeKey
Declaration
[JsonProperty(PropertyName = "fieldTimeKey")]
public string FieldTimeKey { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the time field for the event time. If the event doesn't have this field, the current time is used. |
FieldTimeZone
Declaration
[JsonProperty(PropertyName = "fieldTimeZone")]
public string FieldTimeZone { get; set; }
Property Value
Type | Description |
---|---|
string | Use the specified time zone. The time value can be parsed or formatted in the specified time zone. |
Name
Declaration
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name key to tag this Grok pattern. |
Pattern
Declaration
[Required(ErrorMessage = "Pattern is required.")]
[JsonProperty(PropertyName = "pattern")]
public string Pattern { get; set; }
Property Value
Type | Description |
---|---|
string | The Grok pattern. |
Remarks
Required