LogTransformerTransformerConfigListToMap class
Constructors
-
LogTransformerTransformerConfigListToMap({Input<bool?>? flatten, Input<String?>? flattenedElement, required Input<String> key, required Input<String> source, Input<String?>? target, Input<String?>? valueKey})
-
Creates a new LogTransformerTransformerConfigListToMap.
flatten Specifies whether the list will be flattened into single items. Defaults to false.
flattenedElement Required if flatten is set to true. Specifies the element to keep. Allowed values are first and last.
key Specifies the key of the field to be extracted as keys in the generated map.
source Specifies the key in the log event that has a list of objects that will be converted to a map.
target Specifies the key of the field that will hold the generated map.
valueKey Specifies the values that will be extracted from the source objects and put into the values of the generated map. If omitted, original objects in the source list will be put into the values of the generated map.
const
-
LogTransformerTransformerConfigListToMap.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
flatten
→ Input<bool?>?
-
Specifies whether the list will be flattened into single items. Defaults to
false.
final
-
flattenedElement
→ Input<String?>?
-
Required if
flatten is set to true. Specifies the element to keep. Allowed values are first and last.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
key
→ Input<String>
-
Specifies the key of the field to be extracted as keys in the generated map.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ Input<String>
-
Specifies the key in the log event that has a list of objects that will be converted to a map.
final
-
target
→ Input<String?>?
-
Specifies the key of the field that will hold the generated map.
final
-
valueKey
→ Input<String?>?
-
Specifies the values that will be extracted from the source objects and put into the values of the generated map. If omitted, original objects in the source list will be put into the values of the generated map.
final