It converts field date/time data to different format.
field
cfg.FieldSelector
default=time
The event field name which contains date information.
source_formats
[]string
default=rfc3339nano,rfc3339
List of date formats to parse a field. Available list items should be one of ansic|unixdate|rubydate|rfc822|rfc822z|rfc850|rfc1123|rfc1123z|rfc3339|rfc3339nano|kitchen|stamp|stampmilli|stampmicro|stampnano|unixtime|nginx_errorlog
.
target_format
string
default=unixtime
Date format to convert to.
remove_on_fail
bool
default=false
Remove field if conversion fails.
Generated using insane-doc