Class UnifiedAgentParser
Source parser object.
Inheritance
Inherited Members
Namespace: Oci.LoggingService.Models
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
[JsonConverter(typeof(UnifiedAgentParserModelConverter))]
public class UnifiedAgentParser
Properties
FieldTimeKey
Declaration
[JsonProperty(PropertyName = "fieldTimeKey")]
public string FieldTimeKey { get; set; }
Property Value
Type | Description |
---|---|
string | Specifies the time field for the event time. If the event doesn't have this field, the current time is used. |
IsEstimateCurrentEvent
Declaration
[JsonProperty(PropertyName = "isEstimateCurrentEvent")]
public bool? IsEstimateCurrentEvent { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified. |
IsKeepTimeKey
Declaration
[JsonProperty(PropertyName = "isKeepTimeKey")]
public bool? IsKeepTimeKey { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, keep the time field in the record. |
IsNullEmptyString
Declaration
[JsonProperty(PropertyName = "isNullEmptyString")]
public bool? IsNullEmptyString { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, an empty string field is replaced with a null value. |
NullValuePattern
Declaration
[JsonProperty(PropertyName = "nullValuePattern")]
public string NullValuePattern { get; set; }
Property Value
Type | Description |
---|---|
string | Specify the null value pattern. |
TimeoutInMilliseconds
Declaration
[JsonProperty(PropertyName = "timeoutInMilliseconds")]
public int? TimeoutInMilliseconds { get; set; }
Property Value
Type | Description |
---|---|
int? | Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern. |
Types
Declaration
[JsonProperty(PropertyName = "types")]
public Dictionary<string, string> Types { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Specify types for converting a field into another type.
For example,
With this configuration:
|