Skip to content

Instantly share code, notes, and snippets.

@tamtam180
Created February 19, 2013 07:26
Show Gist options
  • Save tamtam180/4983766 to your computer and use it in GitHub Desktop.
Save tamtam180/4983766 to your computer and use it in GitHub Desktop.
in_status を stdoutに出力したら...
2013-02-19 16:22:25 +0900: failed to configure/start sub output webhdfs: can't add a new key into hash during iteration2013-02-19 16:22:24 +0900 status:
{"queue_size":0,"emit_count":0}
2013-02-19 16:22:24 +0900 status: {"queue_size":0,"emit_count":0}
2013-02-19 16:22:25 +0900: /usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/status.rb:28:in `[]='
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/status.rb:28:in `register'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/output.rb:203:in `configure'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/output.rb:449:in `configure'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluent-mixin-config-placeholders-0.2.0/lib/fluent/mixin/config_placeholders.rb:93:in `configure'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluent-mixin-plaintextformatter-0.2.1/lib/fluent/mixin/plaintextformatter.rb:18:in `configure'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluent-plugin-webhdfs-0.1.1/lib/fluent/plugin/out_webhdfs.rb:48:in `configure'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluent-plugin-forest-0.1.2/lib/fluent/plugin/out_forest.rb:78:in `block in plant'
<internal:prelude>:10:in `synchronize'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluent-plugin-forest-0.1.2/lib/fluent/plugin/out_forest.rb:74:in `plant'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluent-plugin-forest-0.1.2/lib/fluent/plugin/out_forest.rb:113:in `emit'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/output.rb:35:in `next'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/plugin/out_copy.rb:67:in `emit'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/match.rb:38:in `emit'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/engine.rb:120:in `emit_stream'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/plugin/in_forward.rb:129:in `on_message'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/plugin/in_forward.rb:180:in `feed_each'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/plugin/in_forward.rb:180:in `on_read_msgpack'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/plugin/in_forward.rb:168:in `call'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/plugin/in_forward.rb:168:in `on_read'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/cool.io-1.1.0/lib/cool.io/io.rb:108:in `on_readable'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/cool.io-1.1.0/lib/cool.io/io.rb:170:in `on_readable'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/cool.io-1.1.0/lib/cool.io/loop.rb:96:in `run_once'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/cool.io-1.1.0/lib/cool.io/loop.rb:96:in `run'
/usr/local/rvm/gems/ruby-1.9.3-p385/gems/fluentd-0.10.31/lib/fluent/plugin/in_forward.rb:78:in `run'2013-02-19 16:22:24 +0900 status: {"queue_size":0,"em
@tamtam180
Copy link
Author

<source>
  type status
  time_interval 10
  tag status
</source>

<match status>
  type stdout
</match>

....
<match xxx>
  type forest
  .....
</match>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment