platforms / fluentd / installation

Fluentd Installation

  1. In your shell install the Timber Fluentd plugin by executing:

    1
    gem install fluent-plugin-timber
    
  2. In your /etc/fluent/fluent.conf file add the Timber configuration:

    1
    2
    3
    4
    5
    6
    7
    8
    <match your_match>
      @type timber
      api_key {{my-timber-api-key}}
      hostname "#{Socket.gethostname}"
      # ip 127.0.0.1
      buffer_chunk_limit 1m # Must be < 5m
      flush_at_shutdown true # Only needed with file buffer
    </match>
    
  3. Restart Fluentd

Questions?

Chat with us, just click the talk button in the bottom right of this page.

Chat with us
Sign Up

Log better and solve problems faster, today. Install in under a minute.

Sign Up