本文。
|
fn main() { |
{ |
画像はセンタリングされる

Table
NORMAL | LEFT | CENTER | RIGHT |
---|---|---|---|
1 | 2 | 3 | 4 |
GIST
.gist .blob-code
のbackgroundがtransparentになっているせいかしら。
ちょっとGistを貼り付けるのは諦めよう..
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-04-23 14:58:48 +0000 [warn]: emit transaction failed: error_class=IOError error="closed stream" tag="fluent.info" | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/plugin/buf_file.rb:39:in `write' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/plugin/buf_file.rb:39:in `<<' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/buffer.rb:200:in `block in emit' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/buffer.rb:193:in `emit' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/output.rb:582:in `block in emit' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/output.rb:581:in `each' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/output.rb:581:in `emit' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/event_router.rb:90:in `emit_stream' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/event_router.rb:81:in `emit' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/engine.rb:177:in `block in log_event_loop' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/engine.rb:175:in `each' | |
2016-04-23 14:58:48 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/engine.rb:175:in `log_event_loop' | |
2016-04-23 14:58:48 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>"file", "plugin_id"=>"object:3fb5f4133eb0", "message"=>"shutting down output type=\"file\" plugin_id=\" | |
object:3fb5f4133eb0\""} error_class=IOError error=#<IOError: closed stream> | |
2016-04-23 14:58:48 +0000 [warn]: emit transaction failed: error_class=IOError error="closed stream" tag="fluent.info" | |
2016-04-23 14:58:48 +0000 [warn]: suppressed same stacktrace | |
2016-04-23 14:58:48 +0000 [error]: failed to emit fluentd's log event tag="fluent.info" event={"type"=>"copy", "plugin_id"=>"object:3fb5f144e440", "message"=>"shutting down output type=\"copy\" plugin_id=\" | |
object:3fb5f144e440\""} error_class=IOError error=#<IOError: closed stream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<source> | |
type monitor_agent | |
port 24220 | |
</source> | |
<source> | |
type tail | |
format json | |
read_from_head true | |
path /data/logs/ads-summary.log | |
pos_file /var/log/td-agent/ads-summary_log.pos | |
tag smart-ad.beacon.ads-summary | |
#time_key timestamp | |
</source> | |
<match smart-ad.beacon.ads-summary> | |
type copy | |
deep_copy true | |
<store> | |
type s3 | |
s3_bucket tamtam-dev | |
s3_region ap-northeast-1 | |
<instance_profile_credentials> | |
retries 5 | |
</instance_profile_credentials> | |
s3_object_key_format %{path}/ts=%{time_slice}/action=ads-summary/%{index}_%{hostname}.json.%{file_extension} | |
path tamtam-test/beacon | |
buffer_type file | |
buffer_path /data/td-agent/s3/ads-summary/ | |
time_slice_format %Y-%m-%d-%H | |
time_slice_wait 10m | |
time_key timestamp | |
include_time_key | |
time_as_epoch | |
buffer_chunk_limit 256m | |
format json | |
utc | |
</store> | |
<store> | |
type flowcounter | |
count_keys * | |
unit minute | |
aggregate all | |
tag fluentd.traffic.ads-summary | |
</store> | |
</match> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-04-23 14:50:41 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2016-04-23 14:50:42 +0000 error_class="NoMethodError" error="undefined method `object' for nil:NilClass" plugin_id="objec | |
t:3fb5f7cc9628" | |
2016-04-23 14:50:41 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluent-plugin-s3-0.6.6/lib/fluent/plugin/out_s3.rb:210:in `write' | |
2016-04-23 14:50:41 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/buffer.rb:351:in `write_chunk' | |
2016-04-23 14:50:41 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/buffer.rb:330:in `pop' | |
2016-04-23 14:50:41 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/output.rb:338:in `try_flush' | |
2016-04-23 14:50:41 +0000 [warn]: /usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.12.22/lib/fluent/output.rb:149:in `run' |