Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fluentd 0.14 -> out_forward: old configuration for buffer is not accepted. #1336

Closed
dsalbert opened this issue Nov 29, 2016 · 1 comment · Fixed by #1337
Closed

Fluentd 0.14 -> out_forward: old configuration for buffer is not accepted. #1336

dsalbert opened this issue Nov 29, 2016 · 1 comment · Fixed by #1337
Labels
bug Something isn't working

Comments

@dsalbert
Copy link

Hi,

I'm trying to use flush_interval option in configuration of fluentd 0.14 and I got warning during start that these parameter is not used.

2016-11-29 14:54:10 +0000 [warn]: fluent/engine.rb:107:block in run_configure: parameter 'flush_interval' in <match kubernetes.**>
  @type forward
  @log_level "info"
  send_timeout 30s
  recover_wait 10s
  heartbeat_type tcp
  heartbeat_interval 1s
  phi_threshold 16
  hard_timeout 60s
  flush_interval 10s
  <server>
    name "os-fluentd-development"
    host "os-fluentd-development"
    port 4000
    weight 100
  </server>
</match> is not used.

So I used section and it works:

 64 <match kubernetes.**>
 65   @type forward
 66   @log_level info
 67   send_timeout 30s
 68   recover_wait 10s
 69   heartbeat_type tcp
 70   heartbeat_interval 1s
 71   phi_threshold 16
 72   hard_timeout 60s
 73 
 74   <buffer tag>
 75     flush_mode interval
 76     retry_type exponential_backoff
 77     @type memory
 78     flush_interval 2s
 79     retry_max_interval 10s
 80     chunk_limit_size 2m
 81     queue_length_limit 256
 82   </buffer>
 83 
 84   <server>
 85       name "#{ENV['FLUENTD_CLUSTER']}"
 86       host "#{ENV['FLUENTD_CLUSTER']}"
 87       port "#{ENV['FLUENTD_CLUSTER_PORT']}"
 88       weight 100
 89   </server>
 90 </match>

According to conversation on fluentd slack channel, this might be related to bug in out_forward pluging related to accepting old configuration.

Thanks,
Daniel

@tagomoris
Copy link
Member

Thank you to report it! I pushed a pull-request to fix this issue. #1337.

@tagomoris tagomoris added the bug Something isn't working label Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants