Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace UnifiedAgentLoggingRecordTransformerFilter

Logging record transformer filter object mutates/transforms logs. Ref: https://docs.fluentd.org/filter/record_transformer

Properties

Const filterType

filterType: string = "RECORD_TRANSFORMER_FILTER"

Optional isAutoTypecastEnabled

isAutoTypecastEnabled: undefined | false | true

If true, automatically casts the field types.

Optional isRenewRecordEnabled

isRenewRecordEnabled: undefined | false | true

If true, it modifies a new empty hash

Optional isRubyEnabled

isRubyEnabled: undefined | false | true

When set to true, the full Ruby syntax is enabled in the ${} expression.

Optional keepKeys

keepKeys: Array<string>

A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true

name

name: string

Unique name for the filter.

recordList

recordList: Array<RecordTransformerPair>

Add new key-value pairs in logs

Optional removeKeys

removeKeys: Array<string>

A list of keys to delete

Optional renewTimeKey

renewTimeKey: undefined | string

Overwrites the time of logs with this value, this value must be a Unix timestamp.

Methods

getDeserializedJsonObj

getJsonObj