Skip to content

athenahealth/fluent-plugin-input-gelf

 
 

Repository files navigation

fluent-plugin-input-gelf

Build Status Gem Version

Overview

A GELF compatible input for Fluentd.

Configuration

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>

Configuration flags

  • 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

Packages

No packages published

Languages

  • Ruby 100.0%