Show / Hide Table of Contents

Class UnifiedAgentParser

Source parser object.

Inheritance
object
UnifiedAgentParser
UnifiedAgentApache2Parser
UnifiedAgentApacheErrorParser
UnifiedAgentAuditdParser
UnifiedAgentCriParser
UnifiedAgentCsvParser
UnifiedAgentGrokParser
UnifiedAgentMsgpackParser
UnifiedAgentMultilineGrokParser
UnifiedAgentMultilineParser
UnifiedAgentNoneParser
UnifiedAgentOpenmetricsParser
UnifiedAgentRegexParser
UnifiedAgentSyslogParser
UnifiedAgentTsvParser
UnifiedJSONParser
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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: @type csv keys time,host,req_id,user time_key time
This incoming event: "2013/02/28 12:00:00,192.168.0.1,111,-"
is parsed as: 1362020400 (2013/02/28/ 12:00:00)
record: { "host" : "192.168.0.1", "req_id" : "111", "user" : "-" }

In this article
Back to top