public static class UnifiedAgentLoggingRecordTransformerFilter.Builder extends Object
Constructor and Description |
---|
Builder() |
public UnifiedAgentLoggingRecordTransformerFilter.Builder name(String name)
public UnifiedAgentLoggingRecordTransformerFilter.Builder recordList(List<RecordTransformerPair> recordList)
Add new key-value pairs in logs
recordList
- the value to setpublic UnifiedAgentLoggingRecordTransformerFilter.Builder isRubyEnabled(Boolean isRubyEnabled)
When set to true, the full Ruby syntax is enabled in the ${} expression.
isRubyEnabled
- the value to setpublic UnifiedAgentLoggingRecordTransformerFilter.Builder isAutoTypecastEnabled(Boolean isAutoTypecastEnabled)
If true, automatically casts the field types.
isAutoTypecastEnabled
- the value to setpublic UnifiedAgentLoggingRecordTransformerFilter.Builder isRenewRecordEnabled(Boolean isRenewRecordEnabled)
If true, it modifies a new empty hash
isRenewRecordEnabled
- the value to setpublic UnifiedAgentLoggingRecordTransformerFilter.Builder renewTimeKey(String renewTimeKey)
Overwrites the time of logs with this value, this value must be a Unix timestamp.
renewTimeKey
- the value to setpublic UnifiedAgentLoggingRecordTransformerFilter.Builder keepKeys(List<String> keepKeys)
A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true
keepKeys
- the value to setpublic UnifiedAgentLoggingRecordTransformerFilter.Builder removeKeys(List<String> removeKeys)
A list of keys to delete
removeKeys
- the value to setpublic UnifiedAgentLoggingRecordTransformerFilter build()
public UnifiedAgentLoggingRecordTransformerFilter.Builder copy(UnifiedAgentLoggingRecordTransformerFilter model)
Copyright © 2016–2024. All rights reserved.