Add coercion functions to the remap
syntax
#3722
Labels
domain: vrl
Anything related to the Vector Remap Language
transform: remap
Anything `remap` transform related
type: feature
A value-adding code addition that introduce new functionality.
Milestone
A common use for the new remap syntax will be the need to coerce log fields to different types. This helps with the generic processing of log data and ensuring a consistent schema. It should deprecate the
coercer
transform.Usage
All of these functions should be used on the right side of the
=
when evaluating:Requirements
string(.path.to.field)
functionint(.path.to.field)
functionfloat(.path.to.field)
functionbool(.path.to.field)
functiontimestamp(.path.to.field, "%F")
functionThe text was updated successfully, but these errors were encountered: