Class UnifiedAgentLoggingRecordTransformerFilter
Logging record transformer filter object mutates/transforms logs. Ref: https://docs.fluentd.org/filter/record_transformer
Inherited Members
Namespace: Oci.LoggingService.Models
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
public class UnifiedAgentLoggingRecordTransformerFilter : UnifiedAgentLoggingFilter
Properties
IsAutoTypecastEnabled
Declaration
[JsonProperty(PropertyName = "isAutoTypecastEnabled")]
public bool? IsAutoTypecastEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, automatically casts the field types. |
IsRenewRecordEnabled
Declaration
[JsonProperty(PropertyName = "isRenewRecordEnabled")]
public bool? IsRenewRecordEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | If true, it modifies a new empty hash |
IsRubyEnabled
Declaration
[JsonProperty(PropertyName = "isRubyEnabled")]
public bool? IsRubyEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | When set to true, the full Ruby syntax is enabled in the ${} expression. |
KeepKeys
Declaration
[JsonProperty(PropertyName = "keepKeys")]
public List<string> KeepKeys { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true |
RecordList
Declaration
[Required(ErrorMessage = "RecordList is required.")]
[JsonProperty(PropertyName = "recordList")]
public List<RecordTransformerPair> RecordList { get; set; }
Property Value
Type | Description |
---|---|
List<RecordTransformerPair> | Add new key-value pairs in logs |
Remarks
Required
RemoveKeys
Declaration
[JsonProperty(PropertyName = "removeKeys")]
public List<string> RemoveKeys { get; set; }
Property Value
Type | Description |
---|---|
List<string> | A list of keys to delete |
RenewTimeKey
Declaration
[JsonProperty(PropertyName = "renewTimeKey")]
public string RenewTimeKey { get; set; }
Property Value
Type | Description |
---|---|
string | Overwrites the time of logs with this value, this value must be a Unix timestamp. |