20161027 hadoop summit Generating Recommendations at Amazon Scale with Apach...
ã¾ãã両è ã¯ããªãæ§è³ªã®ç°ãªããããã¯ããªã®ã§ã以ä¸ã®æ¯è¼ã¯çéãã çéãã§ãããã¨ãåæã«ãã¹ããªã¼ã ãã¼ã¿å¦çãã©ãããã©ã¼ã ã¨ãã¦ã®ä¸¡è ãæ¯ã¹ã¦ã¿ãã åºæ¬æ å ± fluentd http://fluentd.org/ ä»ãã¨ããããã°ã³ã¬ã¯ã¿ã¼/ã¤ãã³ãã¢ã°ãªã²ã¼ã¿ã¼ãRubyã§å®è£ ããã¦ããã軽éé«éã RPCåºç¤ã§ã¯ãªãããã®ä¸ã®ã¬ã¤ã¤ã¼ã«ä½ç½®ãããããã¯ãã Storm http://storm-project.net/ åæ£RPCåºç¤ãã¹ããªã¼ã ãã¼ã¿çMapReduce風ãã¬ã¼ã ã¯ã¼ã¯ãJava+Clojureã§å®è£ ããã¦ããã æ¦è¦ã«ã¤ãã¦ã¯ãä¸è¨ã®ã¹ã©ã¤ããã¨ã¦ãããããããã£ãã Twitterã®ãªã¢ã«ã¿ã¤ã åæ£å¦çã·ã¹ãã ãStormãå ¥é ã¹ããªã¼ã ãã¼ã¿å¦çã§ä½ãããã®ãã«ã¤ã㦠ã¹ããªã¼ã ãã¼ã¿å¦çã®ãã¼ãºã«ã¤ãã¦ãèªåãç解ãã¦ããç¯å²ã§ã®ç°¡åãªèª¬æã å ¸
ããããã¯ãããããå¹³å¡ãªæ¥ã : ãã«ããã§ãªã¬ãªã¬ç£è¦ãã¼ã«ã«ã¤ãã¦è©±ãã¦ãã¾ãã GrowthForecast.plã§èªåãã®ã³ã°ãã¦ã¿ã - by edvakf in hatena ã®è¨äºã®ããã«ãFluentdãGrowthForecastã使ã£ããã®ã³ã°ã£ã¦é¢ç½ããã ãªã¼ã¨æã£ã¦èªåã§ããã£ã¦ã¿ãã ã¢ããªã±ã¼ã·ã§ã³æ¯ã®ã¢ã¯ãã£ããªæéãåã ã¾ãèããã®ã¯ããããã¼ã¤ãã³ãçºç«åæ°ã»ã©ç´°ãããªãã¦ãããã¢ã¯ãã£ãã«ãã¦ããæéã®å²åããåãããããã¯ããã§è¯ãããªãã¨ã 1ç§ãã¨ã«ã¢ã¯ãã£ããªã¢ããªã調ã¹ã¦ãã®ã³ã°ãã¦ãããMac OS Xã«ããã¦ã¢ã¯ãã£ããªã¢ããªã±ã¼ã·ã§ã³ã調ã¹ããªãAppleScriptãç°¡åã name of (info for (path to frontmost application)) ããã ãã§ã¢ã¯ãã£ãã«ãã¦ããã¢ããªã±ã¼ã·ã§ã³åãåããã
ã¯ããã« Fluentdã¯ããã°ãåéãæ ¼ç´ããããã®ãã°åéåºç¤ã½ããã¦ã§ã¢ã§ããFluentdã«ã¤ã³ããããããããã¹ã¦ã®ãã°ãJSONã«å¤æããã¢ã¦ãããããã¾ããã¤ã³ãããã¨ã¢ã¦ããããã¯ã¢ã¸ã¥ã¼ã«åããã¦ãããã¢ã¸ã¥ã¼ã«ã追å ãããã¨ã§ã¤ã³ãããå ã¨ã¢ã¦ããããå ã追å ã§ããããã«ãªã£ã¦ãã¾ãã Fluentdã¯æ¥éã«ç¥å度ãé«ããå¤ãã®Webãµã¼ãã¹ä¼ç¤¾ã§å®éã«ä½¿ç¨ãããããã«ãªãã¾ãããå¾æ¥ã®ãã°ãæ±ãã¦ããåé¡ããFluentdãé©åãªè§£æ±ºçã¨ãªã£ã¦ããã¨èªç¥ããããã¤ç°¡åã«å°å ¥ã»ã¹ã¢ã¼ã«ã¹ã¿ã¼ãã§ããããã«ã¦ã§ã¢ã§ãã£ããã¨ã大ããã£ãã¨æãã¾ãã æ¬ç¨¿ã§ã¯ãFluentdã®ç°¡åãªä»çµã¿ã¨å°å ¥æ¹æ³ãã·ã³ãã«ãªåä½äºä¾ã«ã¤ãã¦ç´¹ä»ãã¾ãã 対象èªè ã·ã¹ãã 管çè ãã¼ã¿ãµã¤ã¨ã³ãã£ã¹ã å¿ è¦ãªç°å¢ UNIXç³»OS Ruby 1.9 ãã°ãåºåããçç± ã·ã¹ãã éç¨ãå§ãã
å¼ãç¶ã LTSV ã«ã¤ãã¦ãText::LTSV ã¯ãã£ã¦ããã¨ã¯åã«ã¿ãã® split ã§ãããããªãã®ã ãã©ããã£ããä½ã£ããã ãä½ãå©ç¨æ¹æ³ã¯ãªãããªã¨èããã LTSV ã®ãã°ã¯æ¬ ç¹ããã£ã¦ãã®ã¾ã¾ã§ã¯è¦ã¥ãããã¨ã Text::LTSV ã§ããã·ã¥ã«ãªãã®ã ãããYAML ã¨ãã§åºåãããã©ããªãã試ãã¦ã¿ãããããã«ãYAML ã«è²ã¥ããã YAML::Tiny::Color ã¨ããã®ããã£ããã #!/usr/bin/env perl use strict; use warnings; use Project::Libs; use YAML::Tiny::Color qw/Dump/; use Text::LTSV; while (<>) { my $hash = Text::LTSV->parse_line($_); print Dump $hash; } ãããªã¹ã¯ãªã
ããæ°å¹´ã®ãã¼ã¿è§£æã®éè¦æ§ã®é«ã¾ãããããã°ã«é¢ããã½ãªã¥ã¼ã·ã§ã³ãæ¹ã ã§æ´»çºã«æ¢æ±ããã¦ããæ¨ä»ã§ãããã¾ããã¦ã§ããµã¼ãã¼ã®åç´ãªã¢ã¯ã»ã¹ãã°ããã®ã¾ã¾ä¿åããã§ã¯ãªã追å æ å ±ãæ·»å ãã¦ã¿ããããããã¯ã¢ããªã±ã¼ã·ã§ã³ããç´æ¥ãã°ãåãã¦ãããããã¼ã¿ã¦ã§ã¢ã«æãè¾¼ãã§ï½¥ï½¥ï½¥ã¨ããã®ãå½ç¶ã®ããã«è¡ãããã«ãªãã¾ãããã ããããã¾ãèªç±åº¦ã®ãªã access_log ã® combined ãã©ã¼ãããããã¦ã©ãããããã・・・ ãã㧠id:stanaka ã®ç»å ´ã§ãã Labeled Tab Separated Valueã¨ããã®ã¯ãã¯ã¦ãªã§ä½¿ã£ã¦ãããã°ãã©ã¼ãããã®ãã¨ã§ãåºã使ããã¦ããTSV(Tab Separated Value)ãã©ã¼ãããã«ã©ãã«ãä»ãã¦æ±ãæããããã®ã§ããã¯ã¦ãªã§ã¯ããã3年以ä¸ããã®ãã©ã¼ãããã§ãã°ãæ®ãã¦ãã¦ãone-linerããflue
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? ãã¡ã http://fluentd.org/doc/install.html#id1 ã«ããéãã«ãfluentdãå®è¡ãã¦ãä¸è¨ã®ã¨ã©ã¼ãåºã¦å®è¡ã§ãã¾ããã ãªã«ãããåç¥ã®æ¹ãå± ãã£ãããã°ãææé ããã¨å¹¸ãã§ãã 2012-01-25 01:37:42 +0900: fluent/supervisor.rb:143:supervise: starting fluentd-0.10.9 2012-01-25 01:37:42 +0900: fluent/supervisor.rb:225:read_config: reading
This article lists various Fluentd failure scenarios. We will assume that you have configured Fluentd for High Availability, so that each app node has its local forwarders and all logs are aggregated into multiple aggregators. Table of Contents Apps Cannot Post Records to Forwarder Forwarder or Aggregator Fluentd Goes Down Storage Destination Goes Down Apps Cannot Post Records to Forwarder In the
ææ°ã®è¨äºã¯ãã¡ãã§ãã Fluentdã®ãã¹ããããéç¨ã§æ¬²ããã£ãã®ã§ãApacheã®ãã°ãçæãç¶ããã¹ã¯ãªãããæ¸ãã¾ããã ã¨è¨ã£ã¦ãçæé¨åã¯TreasureDataã®ã¹ã¯ãªããã丸ã±ããã§æµéå¶éããããªãã·ã§ã³ã追å ãã¦å»¶ã ã¨åºåããããã«ããã ãã§ãã frsyuki++ã æå ã§ãµã¯ãã¨productionã§ç¢ºèªã§ãã人ã¯ãããã¾ããã 使ãæ¹ã¯ä»¥ä¸ã®ãããªæãã§ãã詳細ã¯READMEãè¦ã¦ãã ããã ruby sample_apache_gen.rb [--rate=0] [--limit=0] [--rotate=0] [--progress] [--json] [outfile] --rate æ¯ç§ä½ã¬ã³ã¼ãçæãããã®æå®ã0以ä¸ã¯å¶éç¡ãã --limit æ大ä½ä»¶åºåãããã0以ä¸ã¯å»¶ã ã¨åºåãç¶ããã --rotate ãã¼ãã¼ã·ã§ã³ã®ééãåä½ã¯ç§æå®ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}