A GELF compatible input for Fluentd.
Accept GELF encoded messages over UDP or TCP
<source>
type gelf
tag example.gelf
bind 127.0.0.1
port 12201
# protocol_type tcp ## (defaults to udp)
# trust_client_timestamp false ## (defaults to true)
# remove_timestamp_record false ## (defaults to true)
</source>
<match example.gelf>
@type file
<format>
@type out_file
time_type string
time_format '%Y-%m-%dT%H:%M:%S.%N %z'
</format>
path /tmp/output
</match>
-
protocol_type
- udp
- tcp
-
trust_client_timestamp (default: true)
- true (use client provided timestamp for fluent metadata if it exists)
- false (ignore client provided timestamp for fluent metadata)
-
remove_timestamp_record (default: true) (ignored if trust_client_timestamp is false)
- true (remove original timestamp record from client provided document)
- false (retain original record and set fluent metadata time