<match>
or <filter>
section. It is enabled for the plugins that support injecting values to the event record.hostname_key
(string) (optional): the field name to inject hostname
nil
hostname
(string) (optional): hostname valueSocket.gethostname
worker_id_key
(string) (optional): the field name to injectworker_id
nil
tag_key
(string) (optional): the field name to inject tag
nil
time_key
(string) (optional): the field name to inject time
nil
time_type
(enum) (optional): parses/formats value according to thisfloat
float
: seconds from Epoch + microseconds (e.g.unixtime
: seconds from Epoch (e.g. 1510544836)unixtime_millis
(since v1.11.4): milliseconds from Epochunixtime_micros
(since v1.20.0): microseconds from Epochunixtime_nanos
(since v1.20.0): nanoseconds from Epochstring
: use format specified by time_format
, local time or timetime_format
(string) (optional): processes value according to thetime_type
is string
.nil
%iso8601
(only for parsing)%N
to parse/format with sub-second precision, because%3N
, %6N
, %9N
, and %L
.localtime
(bool) (optional): if true
, uses local time. Otherwise,utc
.true
utc
(bool) (optional): if true
, uses UTC. Otherwise, local time islocaltime
.false
timezone
(string) (optional): uses the specified timezone. One cannil
[+-]HH:MM
(e.g. "+09:00") (recommended)[+-]HHMM
(e.g. "+0900")[+-]HH
(e.g. "+09")Asia/Tokyo
)America/Argentina/Buenos_Aires
)