Skip to content

Instantly share code, notes, and snippets.

@dimaqq
Created September 12, 2016 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimaqq/d65aea5d7e4f3fcb54fcc55747cf363e to your computer and use it in GitHub Desktop.
Save dimaqq/d65aea5d7e4f3fcb54fcc55747cf363e to your computer and use it in GitHub Desktop.
2016-09-12 09:00:05 +0000 [info]: reading config file path="/fluentd/etc/fluent.conf"
2016-09-12 09:00:05 +0000 [info]: starting fluentd-0.14.6
2016-09-12 09:00:05 +0000 [info]: spawn command to main: /usr/bin/ruby -Eascii-8bit:ascii-8bit /usr/bin/fluentd -c /fluentd/etc/fluent.conf -p /fluentd/plugins --under-supervisor
2016-09-12 09:00:05 +0000 [info]: reading config file path="/fluentd/etc/fluent.conf"
2016-09-12 09:00:05 +0000 [info]: starting fluentd-0.14.6 without supervision
2016-09-12 09:00:05 +0000 [info]: gem 'fluent-plugin-loggly' version '0.0.8'
2016-09-12 09:00:05 +0000 [info]: gem 'fluentd' version '0.14.6'
2016-09-12 09:00:05 +0000 [info]: adding filter pattern="**" type="stdout"
2016-09-12 09:00:05 +0000 [info]: adding match pattern="**" type="copy"
2016-09-12 09:00:05 +0000 [info]: adding source type="tail"
2016-09-12 09:00:05 +0000 [info]: adding source type="tail"
2016-09-12 09:00:05 +0000 [info]: adding source type="tail"
2016-09-12 09:00:05 +0000 [info]: adding source type="tail"
2016-09-12 09:00:05 +0000 [info]: adding source type="forward"
2016-09-12 09:00:05 +0000 [info]: adding source type="http"
2016-09-12 09:00:05 +0000 [info]: using configuration file: <ROOT>
<source>
@type tail
path "/data/nginx/error.log"
pos_file "/data/nginx-error-log.pos"
tag "nginx.error"
format nginx
<parse>
@type nginx
</parse>
</source>
<source>
@type tail
path "/data/nginx/access.log"
pos_file "/data/nginx-access-log.pos"
tag "nginx.access"
format json
<parse>
@type json
</parse>
</source>
<source>
@type tail
path "/data/apache/error.log"
pos_file "/data/apache-error-log.pos"
tag "apache.error"
format /^\[[^ ]* (?<time>[^\]]*)\] \[((?<module>[^:\]]*):)?(?<level>[^\]]*)\] \[pid (?<pid>[^:\]]*)(:tid (?<tid>[^:\]]*))\] (\[client (?<client>[^\]]*)\] )?(?<errorcode>[A-Za-z0-9]*)?: (?<message>.*)$/
<parse>
@type /^\[[^ ]* (?<time>[^\]]*)\] \[((?<module>[^:\]]*):)?(?<level>[^\]]*)\] \[pid (?<pid>[^:\]]*)(:tid (?<tid>[^:\]]*))\] (\[client (?<client>[^\]]*)\] )?(?<errorcode>[A-Za-z0-9]*)?: (?<message>.*)$/
</parse>
</source>
<source>
@type tail
path "/data/apache/access.log"
pos_file "/data/apache-access-log.pos"
tag "apache.access"
format json
<parse>
@type json
</parse>
</source>
<source>
@type forward
@id docker-host
port 24224
</source>
<source>
@type http
@id turbo
port 8080
bind "0.0.0.0"
body_size_limit 32m
keepalive_timeout 10s
</source>
<filter **>
@type stdout
</filter>
<match **>
@type copy
<store>
@type "file"
@id turbolog
path "/data/data.*.log"
symlink_path "/data/data.log"
append true
time_slice_format "%Y%m%d"
time_slice_wait 10m
time_format "%Y%m%dT%H%M%S%z"
buffer_path /data/data.*.log
<buffer time>
flush_mode lazy
retry_type exponential_backoff
path /data/data.*.log
timekey_wait 10m
timekey 86400
</buffer>
<parse>
time_format %Y%m%dT%H%M%S%z
</parse>
<inject>
time_format %Y%m%dT%H%M%S%z
</inject>
</store>
<store>
@type "loggly_buffered"
loggly_url "https://logs-01.loggly.com/bulk/xxx-xxx-xxx-xxx-xxx/tag/fluentd"
time_precision_digits 6
buffer_type "file"
buffer_path /data/loggly-buffer
flush_interval 5s
<buffer>
flush_mode interval
retry_type exponential_backoff
@type file
path /data/loggly-buffer
flush_interval 5s
</buffer>
</store>
</match>
</ROOT>
2016-09-12 09:00:05 +0000 [warn]: section <parse> is not used in <store> of out_file plugin
2016-09-12 09:00:05 +0000 [info]: listening fluent socket on 0.0.0.0:24224
2016-09-12 09:00:15 +0000 [info]: following tail of /data/nginx/access.log
2016-09-12 09:00:15 +0000 [info]: following tail of /data/nginx/error.log
2016-09-12 09:00:15 +0000 [info]: Filtering works with worse performance, because [Fluent::Plugin::StdoutFilter] uses `#filter_stream` method.
2016-09-12 09:00:15 +0000 fluent.info: {"message":"following tail of /data/nginx/access.log"}
2016-09-12 09:00:15 +0000 fluent.info: {"message":"following tail of /data/nginx/error.log"}
2016-09-12 09:00:16 +0000 [info]: following tail of /data/apache/access.log
2016-09-12 09:00:16 +0000 [info]: following tail of /data/apache/error.log
2016-09-12 09:00:16 +0000 fluent.info: {"message":"following tail of /data/apache/access.log"}
2016-09-12 09:00:16 +0000 fluent.info: {"message":"following tail of /data/apache/error.log"}
2016-09-12 09:00:17 +0000 [info]: Filtering works with worse performance, because [Fluent::Plugin::StdoutFilter] uses `#filter_stream` method.
2016-09-12 09:00:17 +0000 apache.error: {"module":"mpm_event","level":"warn","pid":"1","tid":"140323812743040","errorcode":"AH00516","message":"MaxRequestWorkers of 32 would require 8 servers and exceed ServerLimit of 4, decreasing to 16"}
2016-09-12 09:00:17 +0000 apache.error: {"module":"unique_id","level":"info","pid":"1","tid":"140323812743040","errorcode":"AH01566","message":"using ip addr 172.18.0.6"}
2016-09-12 09:00:17 +0000 fluent.info: {"message":"Filtering works with worse performance, because [Fluent::Plugin::StdoutFilter] uses `#filter_stream` method."}
2016-09-12 09:00:18 +0000 apache.error: {"module":"mpm_event","level":"notice","pid":"1","tid":"140323812743040","errorcode":"AH00489","message":"Apache/2.4.23 (Unix) configured -- resuming normal operations"}
2016-09-12 09:00:18 +0000 apache.error: {"module":"mpm_event","level":"info","pid":"1","tid":"140323812743040","errorcode":"AH00490","message":"Server built: Jul 29 2016 04:26:14"}
2016-09-12 09:00:18 +0000 apache.error: {"module":"core","level":"notice","pid":"1","tid":"140323812743040","errorcode":"AH00094","message":"Command line: 'httpd -D FOREGROUND'"}
2016-09-12 09:00:20 +0000 apache.error: {"module":"mpm_event","level":"error","pid":"1","tid":"140323812743040","errorcode":"AH00484","message":"server reached MaxRequestWorkers setting, consider raising the MaxRequestWorkers setting"}
2016-09-12 09:05:19 +0000 apache.error: {"module":"core","level":"info","pid":"1","tid":"140323812743040","errorcode":"AH00096","message":"removed PID file /usr/local/apache2/logs/httpd.pid (pid=1)"}
2016-09-12 09:05:19 +0000 apache.error: {"module":"mpm_event","level":"notice","pid":"1","tid":"140323812743040","errorcode":"AH00491","message":"caught SIGTERM, shutting down"}
2016-09-12 09:05:23 +0000 [info]: Received graceful stop
2016-09-12 09:05:23 +0000 [info]: shutting down fluentd
2016-09-12 09:05:23 +0000 [info]: preparing shutdown input plugin type=:tail plugin_id="object:2ae84a2a00dc"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown input plugin type=:tail plugin_id="object:2ae84a5dfc98"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown input plugin type=:tail plugin_id="object:2ae84a2766ec"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown input plugin type=:tail plugin_id="object:2ae84a1ac1e4"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown input plugin type=:forward plugin_id="docker-host"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown input plugin type=:http plugin_id="turbo"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown output plugin type=:copy plugin_id="object:2ae84a0e60d4"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown output plugin type=:file plugin_id="turbolog"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown output plugin type=:file plugin_id="turbolog"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown output plugin type=:loggly_buffered plugin_id="object:2ae84a6c1544"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown output plugin type=:loggly_buffered plugin_id="object:2ae84a6c1544"
2016-09-12 09:05:23 +0000 [info]: preparing shutdown filter plugin type=:stdout plugin_id="object:2ae84a2dc2d0"
2016-09-12 09:05:23 +0000 [info]: shutting down input plugin type=:http plugin_id="turbo"
2016-09-12 09:05:23 +0000 [info]: shutting down input plugin type=:tail plugin_id="object:2ae84a2a00dc"
2016-09-12 09:05:23 +0000 [info]: shutting down input plugin type=:tail plugin_id="object:2ae84a1ac1e4"
2016-09-12 09:05:23 +0000 [info]: shutting down input plugin type=:tail plugin_id="object:2ae84a5dfc98"
2016-09-12 09:05:23 +0000 [info]: shutting down input plugin type=:forward plugin_id="docker-host"
2016-09-12 09:05:23 +0000 [info]: shutting down input plugin type=:tail plugin_id="object:2ae84a2766ec"
2016-09-12 09:05:24 +0000 fluent.info: {"message":"shutting down fluentd"}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:tail, "plugin_id"=>"object:2ae84a2a00dc", "message"=>"preparing shutdown input plugin type=:tail plugin_id=\"object:2ae84a2a00dc\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:tail, "plugin_id"=>"object:2ae84a5dfc98", "message"=>"preparing shutdown input plugin type=:tail plugin_id=\"object:2ae84a5dfc98\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:tail, "plugin_id"=>"object:2ae84a2766ec", "message"=>"preparing shutdown input plugin type=:tail plugin_id=\"object:2ae84a2766ec\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:tail, "plugin_id"=>"object:2ae84a1ac1e4", "message"=>"preparing shutdown input plugin type=:tail plugin_id=\"object:2ae84a1ac1e4\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:forward, "plugin_id"=>"docker-host", "message"=>"preparing shutdown input plugin type=:forward plugin_id=\"docker-host\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:http, "plugin_id"=>"turbo", "message"=>"preparing shutdown input plugin type=:http plugin_id=\"turbo\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:copy, "plugin_id"=>"object:2ae84a0e60d4", "message"=>"preparing shutdown output plugin type=:copy plugin_id=\"object:2ae84a0e60d4\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:file, "plugin_id"=>"turbolog", "message"=>"preparing shutdown output plugin type=:file plugin_id=\"turbolog\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:file, "plugin_id"=>"turbolog", "message"=>"preparing shutdown output plugin type=:file plugin_id=\"turbolog\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:loggly_buffered, "plugin_id"=>"object:2ae84a6c1544", "message"=>"preparing shutdown output plugin type=:loggly_buffered plugin_id=\"object:2ae84a6c1544\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:loggly_buffered, "plugin_id"=>"object:2ae84a6c1544", "message"=>"preparing shutdown output plugin type=:loggly_buffered plugin_id=\"object:2ae84a6c1544\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:stdout, "plugin_id"=>"object:2ae84a2dc2d0", "message"=>"preparing shutdown filter plugin type=:stdout plugin_id=\"object:2ae84a2dc2d0\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:http, "plugin_id"=>"turbo", "message"=>"shutting down input plugin type=:http plugin_id=\"turbo\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:tail, "plugin_id"=>"object:2ae84a2a00dc", "message"=>"shutting down input plugin type=:tail plugin_id=\"object:2ae84a2a00dc\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:tail, "plugin_id"=>"object:2ae84a1ac1e4", "message"=>"shutting down input plugin type=:tail plugin_id=\"object:2ae84a1ac1e4\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:tail, "plugin_id"=>"object:2ae84a5dfc98", "message"=>"shutting down input plugin type=:tail plugin_id=\"object:2ae84a5dfc98\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:forward, "plugin_id"=>"docker-host", "message"=>"shutting down input plugin type=:forward plugin_id=\"docker-host\""}
2016-09-12 09:05:24 +0000 [warn]: dump an error event: error_class=TypeError error="Failed to dump Symbol Object to JSON in strict mode.\n" tag="fluent.info" time=1473671123 record={"type"=>:tail, "plugin_id"=>"object:2ae84a2766ec", "message"=>"shutting down input plugin type=:tail plugin_id=\"object:2ae84a2766ec\""}
2016-09-12 09:05:24 +0000 [info]: shutting down output plugin type=:file plugin_id="turbolog"
2016-09-12 09:05:24 +0000 [info]: shutting down output plugin type=:loggly_buffered plugin_id="object:2ae84a6c1544"
2016-09-12 09:05:24 +0000 [info]: shutting down output plugin type=:copy plugin_id="object:2ae84a0e60d4"
2016-09-12 09:05:24 +0000 [info]: shutting down output plugin type=:file plugin_id="turbolog"
2016-09-12 09:05:24 +0000 [info]: shutting down output plugin type=:loggly_buffered plugin_id="object:2ae84a6c1544"
2016-09-12 09:05:24 +0000 [info]: shutting down filter plugin type=:stdout plugin_id="object:2ae84a2dc2d0"
2016-09-12 09:05:24 +0000 [info]: closing input plugin type=:http plugin_id="turbo"
2016-09-12 09:05:24 +0000 [info]: closing input plugin type=:tail plugin_id="object:2ae84a2a00dc"
2016-09-12 09:05:24 +0000 [info]: closing input plugin type=:tail plugin_id="object:2ae84a2766ec"
2016-09-12 09:05:24 +0000 [info]: closing input plugin type=:tail plugin_id="object:2ae84a5dfc98"
2016-09-12 09:05:24 +0000 [info]: closing input plugin type=:tail plugin_id="object:2ae84a1ac1e4"
2016-09-12 09:05:24 +0000 [info]: closing input plugin type=:forward plugin_id="docker-host"
2016-09-12 09:05:24 +0000 [info]: closing output plugin type=:loggly_buffered plugin_id="object:2ae84a6c1544"
2016-09-12 09:05:24 +0000 [info]: closing output plugin type=:file plugin_id="turbolog"
2016-09-12 09:05:24 +0000 [info]: closing output plugin type=:loggly_buffered plugin_id="object:2ae84a6c1544"
2016-09-12 09:05:24 +0000 [info]: closing output plugin type=:file plugin_id="turbolog"
2016-09-12 09:05:24 +0000 [info]: closing output plugin type=:copy plugin_id="object:2ae84a0e60d4"
2016-09-12 09:05:24 +0000 [warn]: unexpected error while closing on output plugin plugin=Fluent::FileOutput plugin_id="turbolog" error_class=IOError error="closed stream"
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer/file_chunk.rb:120:in `size'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer/file_chunk.rb:120:in `close'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:125:in `block (2 levels) in close'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:124:in `each_pair'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:124:in `block in close'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:116:in `close'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/output.rb:449:in `close'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin_helper/event_emitter.rb:71:in `close'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/root_agent.rb:200:in `block (3 levels) in shutdown'
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/filter_stdout.rb:46:in `rescue in block in filter_stream'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/filter_stdout.rb:42:in `block in filter_stream'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event.rb:100:in `each'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/filter_stdout.rb:41:in `filter_stream'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:171:in `block in filter_stream'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:171:in `each'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:171:in `reduce'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:171:in `filter_stream'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:152:in `emit_events'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:90:in `emit_stream'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:81:in `emit'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/engine.rb:165:in `block in log_event_loop'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/engine.rb:163:in `each'
2016-09-12 09:05:24 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/engine.rb:163:in `log_event_loop'
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:file, "plugin_id"=>"turbolog", "message"=>"shutting down output plugin type=:file plugin_id=\"turbolog\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:loggly_buffered, "plugin_id"=>"object:2ae84a6c1544", "message"=>"shutting down output plugin type=:loggly_buffered plugin_id=\"object:2ae84a6c1544\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:copy, "plugin_id"=>"object:2ae84a0e60d4", "message"=>"shutting down output plugin type=:copy plugin_id=\"object:2ae84a0e60d4\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:file, "plugin_id"=>"turbolog", "message"=>"shutting down output plugin type=:file plugin_id=\"turbolog\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:loggly_buffered, "plugin_id"=>"object:2ae84a6c1544", "message"=>"shutting down output plugin type=:loggly_buffered plugin_id=\"object:2ae84a6c1544\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:stdout, "plugin_id"=>"object:2ae84a2dc2d0", "message"=>"shutting down filter plugin type=:stdout plugin_id=\"object:2ae84a2dc2d0\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:http, "plugin_id"=>"turbo", "message"=>"closing input plugin type=:http plugin_id=\"turbo\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:tail, "plugin_id"=>"object:2ae84a2a00dc", "message"=>"closing input plugin type=:tail plugin_id=\"object:2ae84a2a00dc\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:tail, "plugin_id"=>"object:2ae84a2766ec", "message"=>"closing input plugin type=:tail plugin_id=\"object:2ae84a2766ec\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:tail, "plugin_id"=>"object:2ae84a5dfc98", "message"=>"closing input plugin type=:tail plugin_id=\"object:2ae84a5dfc98\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:tail, "plugin_id"=>"object:2ae84a1ac1e4", "message"=>"closing input plugin type=:tail plugin_id=\"object:2ae84a1ac1e4\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:forward, "plugin_id"=>"docker-host", "message"=>"closing input plugin type=:forward plugin_id=\"docker-host\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:loggly_buffered, "plugin_id"=>"object:2ae84a6c1544", "message"=>"closing output plugin type=:loggly_buffered plugin_id=\"object:2ae84a6c1544\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:file, "plugin_id"=>"turbolog", "message"=>"closing output plugin type=:file plugin_id=\"turbolog\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:loggly_buffered, "plugin_id"=>"object:2ae84a6c1544", "message"=>"closing output plugin type=:loggly_buffered plugin_id=\"object:2ae84a6c1544\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:file, "plugin_id"=>"turbolog", "message"=>"closing output plugin type=:file plugin_id=\"turbolog\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass" tag="fluent.info"
2016-09-12 09:05:24 +0000 [warn]: suppressed same stacktrace
2016-09-12 09:05:24 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>:copy, "plugin_id"=>"object:2ae84a0e60d4", "message"=>"closing output plugin type=:copy plugin_id=\"object:2ae84a0e60d4\""} error_class=NoMethodError error="undefined method `emit_error_event' for nil:NilClass"
2016-09-12 09:05:24 +0000 [info]: Filtering works with worse performance, because [Fluent::Plugin::StdoutFilter] uses `#filter_stream` method.
2016-09-12 09:05:24 +0000 fluent.warn: {"plugin":"Fluent::FileOutput","plugin_id":"turbolog","error":"#<IOError: closed stream>","message":"unexpected error while closing on output plugin plugin=Fluent::FileOutput plugin_id=\"turbolog\" error_class=IOError error=\"closed stream\""}
2016-09-12 09:05:25 +0000 [info]: closing filter plugin type=:stdout plugin_id="object:2ae84a2dc2d0"
2016-09-12 09:05:26 +0000 [warn]: killing existing thead thread=#<Thread:0x0055d0942edbe0@/usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin_helper/thread.rb:58 sleep>
2016-09-12 09:05:26 +0000 [warn]: emit transaction failed: error_class=NoMethodError error="undefined method `[]' for nil:NilClass" tag="fluent.warn"
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:447:in `block in write_once'
2016-09-12 09:05:26 +0000 [warn]: thread doesn't exit correctly (killed or other reason) plugin=Fluent::FileOutput title=:enqueue_thread thread=#<Thread:0x0055d0942edbe0@/usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin_helper/thread.rb:58 aborting> error=nil
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:447:in `write_once'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:197:in `block in write'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:196:in `each'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/buffer.rb:196:in `write'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/output.rb:665:in `block in handle_stream_with_custom_format'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/output.rb:610:in `write_guard'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/output.rb:664:in `handle_stream_with_custom_format'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/output.rb:602:in `execute_chunking'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/output.rb:544:in `emit_buffered'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/out_copy.rb:38:in `block in process'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/out_copy.rb:37:in `each'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/out_copy.rb:37:in `process'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/plugin/multi_output.rb:89:in `emit_sync'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:153:in `emit_events'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:90:in `emit_stream'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/event_router.rb:81:in `emit'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/engine.rb:165:in `block in log_event_loop'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/engine.rb:163:in `each'
2016-09-12 09:05:26 +0000 [warn]: /usr/lib/ruby/gems/2.3.0/gems/fluentd-0.14.6/lib/fluent/engine.rb:163:in `log_event_loop'
2016-09-12 09:05:26 +0000 [error]: failed to emit fluentd's log event tag="fluent.warn" event={"plugin"=>"Fluent::FileOutput", "plugin_id"=>"turbolog", "error"=>"#<IOError: closed stream>", "message"=>"unexpected error while closing on output plugin plugin=Fluent::FileOutput plugin_id=\"turbolog\" error_class=IOError error=\"closed stream\""} error_class=NoMethodError error="undefined method `[]' for nil:NilClass"
2016-09-12 09:05:26 +0000 [info]: Worker 0 finished with status 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment