emsearcy / fluent-plugin-gelf

Buffered fluentd output plugin to GELF (Graylog2)
Apache License 2.0
33 stars 57 forks source link

plugin makes k8s system slower #38

Open peskic93 opened 7 years ago

peskic93 commented 7 years ago

Hi guys, I have problem with your plugin. When I run fluentd with with gelf sending logs on graylog my kubernetes system is drastically slower. Is there a way to optimize it?

This is my td-agent conf file

<source>
  type tail
  path /var/log/containers/*.log
  pos_file /var/log/containers.log.pos
  time_format %Y-%m-%dT%H:%M:%S.%NZ
  tag containers-*
  format json
</source>

<match containers-**>
  type copy
  <store>
    type gelf
    host graylog.example.com
    port 12201
    flush_interval 10s
    buffer_queue_limit 8
    buffer_chunk_limit 2M
    num_threads 8
  </store>
</match>

Thanks in advance.