AWS Summit Tokyo 2016 Developer Conference (2016/06/03)
TODO: å¿ è¦ãªãå³ã足ã ä»ã«æ¸ããæ¹ãè¯ãPros/Consã®ãªã¯ã¨ã¹ãããã£ããè¿½è¨ å é¨ã®ã¤ãã³ãã¹ããªã¼ã ã®æ±ã Pros: Inputãã¹ã±ã¼ã©ãã«ã«å®è£ ããããï¼ãã¼ã¿ã¹ããªã¼ã ãæ£å¸¸æ/ã¨ã©ã¼æã§åãæ¿ãããã Cons: ã¨ã©ã¼ãã³ããªã³ã°ãããããã³ã°ã¢ãã«ãããè¤éã«ãªãããã 以ä¸é·ã ã¨çç±æ¸ãã¾ãï¼ Fluentdã¯ã¤ãã³ãã¹ããªã¼ã ãå¹çè¯ãï¼ã¾ãããã¹ãã«æ±ããã¨ãç®çã«è¨è¨ããã¦ãã¾ãï¼ãã®ããï¼ç¬èªã®è»¢éãããã³ã«(forwardãã©ã°ã¤ã³)ãå®è£ ãã¦ãã¾ããï¼å é¨ã®ã¤ãã³ãã®ãã³ããªã³ã°ãããã«æ²¿ãããã«ãªã£ã¦ãã¾ãï¼ãã ï¼ããã«ãã£ã¦ç¸æ§ã®æªãæä½ã¨ããããã¾ãï¼ Fluentdã¯ãããã¡æ©è½ãæä¾ãã¦ããï¼ããã«ãã£ã¦è»¢éã®å¹çåã¨ã¨ã©ã¼æã®ãã¼ã¿ãã¹ãé²ãè¨è¨ã«ãªã£ã¦ãã¾ãï¼ãï¼ãã¾ãã«ãæ¸ãè¾¼ã¿å ãé ããªã©ã®åé¡ãããã¨ï¼ãããã¡ã®å¶éãè¶ ãã¦
Norikra ã¨ã¯ Norikra ã¨ã¯ãªã¢ã«ã¿ã¤ã ã¤ãã³ãã¹ããªã¼ã ã«å¯¾ã㦠SQL ã©ã¤ã¯ãªè¨èªã§å¦çã§ãã cool ãªãããã¯ãã§ãã ä¾ãã°ãNginx ã®ã¢ã¯ã»ã¹ãã°ã Norikra ã«æµãè¾¼ã¿ãnåãããã®ã¢ã¯ã»ã¹æ°ãã¬ã¹ãã³ã¹ã¿ã¤ã ããªã¢ã«ã¿ã¤ã ã«éè¨ããã¨ãã£ãäºãå¯è½ã§ãã ãã¡ãã Nginx ã ãã§ã¯ãªãããèªèº«ãæ¸ãããã¢ããªãåºåãããã°ãæµãè¾¼ãã§éè¨ã§ãã¾ãã æ´ã« Fluentd ãçµã¿åããã㨠GrowthForecast ã Mackerel ã¨ãã£ããã¼ã«ã«éè¨çµæã渡ãã¦å¯è¦åãããªã©ã¨ãã£ããã¨ã容æãªã®ã§ãéå ±å¤éè¨ãã·ã¹ãã éç¨ç¶æ³ã®å¯è¦åã«æã£ã¦ããã§ãã Fluentd 㨠Norikra ãæ´»ç¨ãã¦å¯è¦åããä¾ fluent-plugin-norikra ã¨å¯è¦åãã¼ã«(GrowthForecastç)ãçµã¿åãããã¨ããã«å¯è¦å
Googleããªã¼ãã³ã½ã¼ã¹ã¨ãã¦å ¬éããKubernetesã¯ãã³ã³ããåä»®æ³åã½ããã¦ã§ã¢ã®Dockerã管çãããã¼ã«ã§ããéçºããã¸ã§ã¯ãã«ã¯DockerãRedHatãIBMãVMwareããã¤ã¯ãã½ãããªã©å¤æ°ã®ä¼æ¥ãåå ã表æãã¦ãã¾ãã Kubernetesã¯ãè¤æ°ã®Dockerã³ã³ããã«ã¾ã¨ãã¦ã¢ããªã±ã¼ã·ã§ã³ããããã¤ããè¨å®ãè¡ãã稼åç¶æ³ãç£è¦ã管çãããµã¼ãã¹ã¸ã®ãã©ãã£ãã¯ãã«ã¼ãã£ã³ã°ãããªã©ãã¯ã©ã¹ã¿ã¨ãã¦Dockerãéç¨ããããã®å¤ãã®æ©è½ãåãã¦ãã¾ãã ãã®Kubernetesã§ä½¿ãããæ¨æºã®ãã°åéãã¼ã«ã¨ãã¦ããªã¼ãã³ã½ã¼ã¹ã®fluentdãæ¡ç¨ããããã¨ãæããã«ãªãã¾ãããä¸è¨ã¯ãããä¼ããGoogleä½è¤æ°ã®ãã¤ã¼ãã fluentdãKubernetesã®æ¨æºãã°ã³ã¬ã¯ã¿ã«æ¡ç¨ããããï¼ï¼ï¼ https://t.co/V8VDM4IE7e
ã¢ã¯ã»ã¹ã©ã³ãã³ã°ãä½ã£ã¦ã¿ããï¼ ä»ãRails4 ã使ã£ã¦ã¢ã¯ã»ã¹ãã°ããã©ã³ãã³ã°ä½ã£ã¦ã¿ãããªãã¼ã¨æã£ã¦ããã§ãããã¿ããªã©ããã£ã¦ãã ããã£ã¦èãã¦ã¿ãã¨ããã Fluentd ã£ã¦ã®ãçµã¿è¾¼ãã ãã§ç°¡åã«éè¨ã¨ãã§ãããã¼ã£ã¦è©±ã ã£ãã®ã§ã使ã£ã¦ã¿ã¾ããã Fluentd ã¨ã¯ ã¾ãèªã¿æ¹ã¯ã ããµãã¼ããã¨ã§ãã¼ãã§ãã£ã¦ãããµãã¼ããã©ãã¨ããããªãã£ã½ãã§ããd ã¯ãã¶ããã¼ã¢ã³ã® d ã è²ã 説æé¢åãªãã§çç¥ãã¾ããããã°åéå ã¨ãåºåå ãç°¡åã«è¨å®ã§ãã¦ãèªåã®æ¬²ããå½¢ã§ãã°ä¿æã§ãã¾ããã¼ã£ã¦æãã£ã½ãããªã®ã§ã ãã·ã§ã«ã¹ã¯ãªããã§å¦çãã tail ã®å¦ççµæããã¡ã¤ã«ã«ããnginx ããåºåãããã¢ã¯ã»ã¹ãã°ã mongoDB ã«ãã¨ãããããå¦çãèªåã§æ¸ãå¿ è¦ãªããç°¡åãªè¨å®ã ãã§ããã¡ããã 詳ãã㯠â æè»ãªãã°åéãå¯è½ã«ãããfluentd
2014å¹´9æ9æ¥éå¬ã®ããµã¼ã/ã¤ã³ãã©ã¨ã³ã¸ãã¢é¤æèªæ¬ ãã°åéãå¯è¦åç·¨ããåºçè¨å¿µï¼å·çè ãèªã大è¬æ¼ä¼ï¼ã«ã¦çºè¡¨ãã¦ãã¾ããã ä»åã¯ãFluentdã®ãå§ãã·ã¹ãã æ§æãã¿ã¼ã³ãã¨ããã¿ã¤ãã«ã§ãã¦ã¼ã¹ã±ã¼ã¹æ¯ã«ã©ã®ãããªã·ã¹ãã æ§æãããã¨éç¨ãããããã®ãã¦ãã¦ãã話ãããã¦ããã ãã¾ããã ã¾ããããã«ãã£ã¹ã«ãã·ã§ã³ã§ã¯ã©ã¸ãªçªçµã®ãããªã¹ã¿ã¤ã«ã§ãã¢ãã¬ã¼ã¿ã« @naoya_itoï¼ä¼è¤ç´ä¹æ°ï¼ããæããã¦è¡ããKibana以åã®å¯è¦åã¯ã©ããã¦ããã®ï¼ãªã©ããã£ãã°ãããªãã¼ã¯ãåºæ¥ã¦ã¨ã¦ã楽ããçµé¨ã§ããã çºè¡¨è³æ ä»åã¯æ¸ç±ã«æ¸ãããå 容ããã£ã¨ãããããã¤ã¤ãã·ã¹ãã æ§æãã¿ã¼ã³ã«ã¤ãã¦è§£èª¬ãã¾ããã çºè¡¨è³æã¯Slideshareã«ã¢ãããã¦ããã¾ãã Fluentdã®ãå§ãã·ã¹ãã æ§æãã¿ã¼ã³ æ¸ç± æ¬æ¸ã¯WEB+DB Pressãåãæ±ãæ¸åºã®ã»ãã
ããã«ã¡ã¯ãå¤ä¼ã¿ã«é·éã«è¡ã£ã¦å± é å±ã§é¦¬åºãããããµãé£ã¹ã¦ããã å°å ã®ãã£ãã人çã®å¤§å 輩ã®çµ¡ã¿é ã«ä»ãåããããç¥å±±ã§ãã 4æã«å ¥ç¤¾ãã¦ä»¥éããµã¼ããµã¤ãã®Webéçºãã¹ã¯ã©ã ã®å°å ¥ããµã¤ãå æ¤ç´¢ã®æ¹åãªã©æ§ã ãªæ¥åã« åãçµãã§ãã¾ãããæè¿ã®å¤§ããªæ¡ä»¶ã¨ãã¦ã¯ãã¢ã¯ã»ã¹ãã°è§£æåºç¤ã®æ´åãããã¾ããã nginxã®ã¢ã¯ã»ã¹ãã°ãåæããããç°å¢ãä½ããããElasticsearchã¨BigQueryã«ãã°ãèç©ãå§ããã®ã§ããã ãã®éã«ä¸çªã®ãã¢ã¨ãªãã®ã¯ãã¿ããªå¤§å¥½ãfluentdã§ãã ä»åã¯ãæã ãã¦ãã¬ãã¸ã§ã³ãã©ã®ããã«ã¢ã¯ã»ã¹ãã°ãåéãä¿åãã¦ããã®ãã«ã¤ãã¦ãfluentdã®è¨å®ãä¸å¿ã«ãç´¹ä»ãã¾ãã ã¢ã¯ã»ã¹ãã°åéã®ç®ç ç¾å¨ã®æã ã®ãµã¼ãã¹ç°å¢ãèæ ®ããã¨ãã¢ã¯ã»ã¹ãã°ã®åéã«ã¯ä¸è¨2ã¤ã®ç®çãåå¨ãã¾ãã ã¢ã¯ã»ã¹æ å ±ããã¨ã«ã¦ã¼ã¶ã¼ã®è¡åã解æ é²
fluent/fluentd-ui https://github.com/fluent/fluentd-ui Fluentdç¨ã®Web UIãåºãããã§ãã試ãã«è§¦ã£ã¦ã¿ã¾ãã ã¤ã³ã¹ãã¼ã« READMEã®ã¨ããã§ããã $ gem install fluentd-ui $ fluentd-ui start Open http://localhost:9292/ by your browser default account is username="admin" and password="changeme" ãããã¯ã $ git clone https://github.com/treasure-data/fluentd-ui $ cd fluentd-ui $ bundle install $ bundle exec rails s ã§ãã åã¯bundlerã§ããããã¨ã«ãã¾ãã
Letâs get started with Fluentd! Fluentd is a fully free and fully open-source log collector that instantly enables you to have a âLog Everythingâ architecture with 125+ types of systems. Fluentd treats logs as JSON, a popular machine-readable format. It is written primarily in C with a thin-Ruby wrapper that gives users flexibility. Fluentdâs scalability has been proven in the field: its largest u
ããã°ãéãã¦ä¿åãããã¨è¨ãã®ã¯ç°¡åã ãã©ï¼ãã°åéã®æ§æã«ã¯ããã¤ãæ¹æ³ãããï¼åå¼·ä¼ãªã©ã§ã¡ããã¡ããèãããã®ã§ï¼ããã¤ãã®ãã¿ã¼ã³ã«ã¤ãã¦æ¸ãï¼ ã俺ã¯ããããªããªãã°åéãã£ã¦ããï¼ãã¨ãã人ã¯å¤åãã§ã«ç¥ã£ã¦ãããã¨ãæ¸ããã¦ããã®ã§ï¼ã¿ããéãã¦è¯ãï¼ ããã§ã¯ãã°ã³ã¬ã¯ã¿ã«Fluentdãæ³å®ãã¦ãããï¼ä»ã®ãã°åéãããã¯ãã«ãé©ç¨åºæ¥ãã¯ãï¼ ãã ï¼Fluentdã¯ã¿ã°ãã¼ã¹ã®ã«ã¼ãã£ã³ã°ãæã¡ï¼åä½ã§ããã¥ã¼ã®ããã«åä½ããããã¨ãå¯è½ã§ï¼æ¢åã®ãã®ããè¤éãªåé¡ã解決ãããã¨ãã¦ããã®ã§ï¼å°ã工夫ãå¿ è¦ãããããªãï¼ Fluentdãã®ãã®ã«ã¤ãã¦ã¯å ¬å¼ããã¥ã¡ã³ããï¼Fluentdã¨ã¯ã©ã®ãããªã½ããã¦ã§ã¢ãªã®ããåèã«ï¼ ã¯ã©ã¤ã¢ã³ãããç´æ¥ä¿åãã ãããªãFluentdã使ããªããã¿ã¼ã³ï¼JavaScript SDKãæä¾ãã¦ãã解æãµã¼ãã¹ãã¢ãã¤ã«ç«¯æ«
2014å¹´8æ8æ¥ããã°åéãå¯è¦åãå§ãããã¨ã³ã¸ãã¢å¿ æºã®æ¸ç±ãæè¡è©è«ç¤¾ããåè¡ããã¾ãã æ¬é¦åå ¬éã¨ãªããå ¨ç·¨æ¸ãä¸ããã®ç¹éã§æ§æãããæ¬æ¸ãèªããã¨ã§ããã°è§£æã®æç¨æ§ãããã°åéãä¿åãå¯è¦åææ³ãç¿å¾ã§ãã¾ãã ç§ã¯ãã®ç¬¬2ç¹éããã°åéããã«ã¦ã§ã¢Fluentdå¾¹åºæ»ç¥ãã®å·çãæ å½ãã¾ããã ãµã¼ã/ã¤ã³ãã©ã¨ã³ã¸ãã¢é¤æèªæ¬ ãã°åé~å¯è¦åç·¨ [ç¾å ´ä¸»å°ã®ãã¼ã¿åæç°å¢ãæ§ç¯!] (Software Design plus) ããã§ã¯ãããããã®ç¹éã«ã¤ãã¦ç°¡åã«ç´¹ä»ãããã¨æãã¾ãã ãµã¼ã/ã¤ã³ãã©ã¨ã³ã¸ãã¢é¤æèªæ¬ ãã°åéãå¯è¦åç·¨ ç¹é1 ãã°è§£æããã¯ããããµã¼ãã¹æ¹å (é´æ¨ å¥å¤ª) 第1ç¹éã§ã¯ããã°ãèç©ãã¦è§£æããæ義ã¨ã¯ä½ããã³ã¼ãã¼ã·ã§ããã®ECãµã¤ããä¾ã«ããã¼ã¿åæã®ã±ã¼ã¹ã¹ã¿ãã£ã¨å ±ã«è§£èª¬ããã¦ãã¾ãã 第1ç« ã¯ãã㫠第2ç« ãµã¼
fluentdã®å¹æçãªæ´»ç¨ä¾ã¨å®å®éç¨ã®ãã¤ã³ãï¼ä»ããèããªãfluentdï½ã¯ã©ã¦ãæ代ã®ãã°ç®¡çå ¥éï¼3ï¼ï¼1/3 ãã¼ã¸ï¼ å¹çè¯ããæå³ã®ãããã°ç®¡çãå®ç¾ãããã¼ã«ã¨ãã¦æ³¨ç®ããã¦ãããfluentdããæçµåã§ã¯ãå®éã®å©ç¨ã·ã¼ã³ãæ³å®ããããå¹æçãªfluentdã®å©ç¨æ³ãç´¹ä»ãã¾ãã 第1åã第2åã§fluentdã使ã£ã¦åºæ¬çãªãã°ç®¡çãå®ç¾ã§ããããã«ãªã£ãã®ã§ã¯ãªãã§ãããããfluentdã¯ãã©ã°ã¤ã³ã®çµã¿åããã«ããæ´ã«å¹æãçºæ®ãã¾ããæçµåã§ã¯ãå®éã®å©ç¨ã·ã¼ã³ãæ³å®ããããå¹æçãªå©ç¨æ³ãç´¹ä»ãã¾ãã fluentdã®å ·ä½çãªæ´»ç¨ä¾ å®éã®å©ç¨ã·ã¼ã³ãæ³å®ãã2ã¤ã®fluentdã®æ´»ç¨ä¾ãç´¹ä»ãã¾ãã 大éã®ãã°ãåæãããæå³ã®ããæ å ±ãã¨ãã¦ç®¡çãã ã¿ã°ãã¼ã¿ãå¹æçã«æ´»ç¨ãããã°ãã¼ã¿ã®ãã£ã«ã¿ãªã³ã°ç®¡çãè¡ã 1.大éã®ãã°ãåæãããæå³ã®ã
Fluentd is an open source data collector for unified logging layer. Fluentd allows you to unify data collection and consumption for a better use and understanding of data.
Index ãã°éè¨ã·ã¹ãã ã®è¦ä»¶ DBè¨è¨ ãã¼ã¿ä¿åæ¹é tableè¨è¨ ãµã¼ãæ§æ Fluentd fluentd,fluent-plugin-mysql-bulk install td-agent.conf mysqlã«ãã¼ã¿ãæ ¼ç´ãããäºã確èªãã éè¨ç¨ã®ããã ãã®ä» Tableè¥å¤§åé²æ¢ å¯è¦å ãã°éè¨ã·ã¹ãã ã®è¦ä»¶ çå¼¾ãã°å¦ççã®@yutakikuchi_ã§ãã ãã°éè¨ã·ã¹ãã ã¨ãããã®ãä½ãæã«çããã¯ã©ã®ããã«å¯¾å¿ãã¦ãã¾ããï¼ ä»¥ä¸ã®åè£ããè¦ä»¶ã®ã¬ãã«ã§ä½¿ãåãããã¦ãã人ãå¤ãã¨äºæ³ãã¦ãã¾ãããã£ããã®è©ä¾¡ã§ãããå°å ¥é£æ度ãæ£ç¢ºæ§ãå¯è¦åããªã¢ã«ã¿ã¤ã ãé·æéè¨ãã¹ã±ã¼ã«ãéç¨è²»ç¨ã¨ããç¹ã§è©ä¾¡ãæ¸ãã¦ãã¾ãã ãã¼ã« å°å ¥é£æ度 æ£ç¢ºæ§ å¯è¦å ãªã¢ã«ã¿ã¤ã é·æéè¨ ã¹ã±ã¼ã« éç¨è²»ç¨ ãªã³ã¯ GA(ã¹ã¿ã³ãã¼ã) â à â â â â â Go
å¼ãç¶ã 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; } ãããªã¹ã¯ãªã
å¢ãããã°ãå¤æ§åãããã°ãã©ãå¹ççã«éç¨ãããï¼ä»ããèããªãfluentdï½ã¯ã©ã¦ãæ代ã®ãã°ç®¡çå ¥éï¼1ï¼ï¼1/2 ãã¼ã¸ï¼ ä»®æ³åãã¯ã©ã¦ãåãã¢ãã¤ã«åã®é²å±ã«ä¼´ãã管çãã¹ããã°ãå¤æ§åã»è¥å¤§åãã¦ãã¾ãããããªä¸ã§ãå¹çãããæå³ã®ãããã°ç®¡çãå®ç¾ãããã¼ã«ã¨ãã¦æ³¨ç®ããã¦ãããfluentdãããããããå§ãããæ¹ã®ããã«ä¸ãã解説ãã¾ãã ã·ã¹ãã ãå®å®ãã¦å¹çè¯ãéç¨ãã¦ããããã«ããã°ç®¡çã¯æ¬ ãããªãè¦ç´ ã®1ã¤ã§ããä»®æ³åãã¯ã©ã¦ãåãã¢ãã¤ã«åã®é²å±ã«ã¤ãã¦ã·ã¹ãã ã¯ã¾ãã¾ã大è¦æ¨¡åããããã«ä¼´ã管çãã¹ããã°ãå¤æ§åã»è¥å¤§åããå¾åã«ããã¾ãã fluentdã¯ãããã£ãä¸ã§ããå¹çãããæå³ã®ãããã°ç®¡çãå®ç¾ããããã«é常ã«æç¨ãªãã¼ã«ã§ããæ¬é£è¼ã§ã¯ãfluentdã®åºæ¬ã¨å ·ä½çãªæ´»ç¨æ¹æ³ãç´¹ä»ãã¾ãã ãã°ç®¡çã®ç¾ç¶ã¨èª²é¡ ç°å¢ã®ä»®æ³åã»ã¯ã©ã¦ãåãã
ããã¯Fluentd Advent Calendar 14æ¥ç®ã®è¨äºã§ãã ç§ã¯ç¾å¨ãVOYAGE GROUPã®åä¼ç¤¾ã§ããadingoã§ãDMP cosmiã®éçºããã¦ãã¾ããä»æ¥ã¯cosmiã§ã®fluentdå©ç¨ã®è©±ããããã¨æãã¾ãã DMPã«ã¤ã㦠éå»ã«åå¼·ä¼ã§ã¢ããã¯ã¾ããåã³DMPã«ã¤ãã¦è©±ããã®ã§ãããè²¼ã£ã¦ããã¾ãããã£ã¨ããã¨ãããæãã«ããããªãã°ãåãããããããã«ãã¦ãããããã¢ãã¿ãªã³ã°ããªããæ´çãã¦ä½¿ããããã«ãããã¨ããå½¹å²ããã£ããããã¯ãã§ãã Head First Ad Technology and DMP http://www.slideshare.net/suzuken/head-first-ad-technology-and-dmp ã©ãã§ä½¿ã£ã¦ããã ã»ã¼å ¨ã¦ã§ããæ§æã¨ãã¦ã¯ ãã°åéãµã¼ã | | out-forward (roundro
è¤æ°å°ã®ãµã¼ãã¼ãã¯ã©ã¦ãç°å¢ãçµã¿åããã¦ã®ãµã¼ãã¹éç¨ã«ããã¦ã¯ããã°ã®åéæ¹æ³ã«å·¥å¤«ãå¿ è¦ã¨ãªãããããã£ãå ´åã«æç¨ãªã®ãããã¾ãã¾ãªãã°ã®åéæ段ãæä¾ããfluentdã ãä»åã¯fluentdã®ã¢ã¼ããã¯ãã£ããã®ã¤ã³ã¹ãã¼ã«/è¨å®æ¹æ³ãåºç¤çãªè¨å®ä¾ãªã©ãç´¹ä»ããã ãã¾ãã¾ãªæ¹æ³ã§ãã°ãåéã§ããfluentd ä»åç´¹ä»ããfluentdã¯ãTreasure Dataãéçºãããã°åé管çãã¼ã«ã ï¼å³1ï¼ããªã¼ãã³ã½ã¼ã¹ã§å ¬éããã¦ãããLinuxãå種UNIXã§åä½ããã å³1 fluentdã®Webãµã¤ã ãã°åéã®ããã®ã½ããã¦ã§ã¢ã¨ãã¦ã¯syslogdãsyslog-ngãªã©ãæåã ããfluentdããããã¨ç°ãªãç¹ã¨ãã¦ã¯ã以ä¸ãæããããã ãã¾ãã¾ãªã½ã¼ã¹ããã®ã¤ãã³ãããã¾ãã¾ãªåªä½ã«åºåã§ãã fluentdã®å¤§ããªç¹å¾´ã¨ãã¦ã¯ããã°ã®åéæ¹æ³ããã°ã®è¨
æ ªå¼ä¼ç¤¾ã©ã¯ã¼ã³ãã¼ã«ãã£ã³ã°ã¹ã®ã¨ã³ã¸ãã¢/ãã¶ã¤ãã¼ããæè¡æ å ±ãã¯ãããä¸ã®ä¸ã®ããã«ãªããã¨ã社å ã®ãã¨ãªã©ãçºä¿¡ãã¦ã¾ãã Rubyfluentdtd-agentlog ã¯ããã¾ãã¦ãéçºãã¼ã ã®Â yuzuki ã§ãã 7/1ã«å¼ç¤¾ã® 決æ¸ãµã¼ãã¹Paidï¼ãã¤ãï¼ ã®ãµã¼ãã¼ç¾¤ã¸ ãã°éç´ã®æ¹åãç®çã¨ãã¦å°å ¥ãã fluentd(td-agent) ã®å°å ¥æé ãªã©ãã¾ã¨ãã¦ã¿ã¾ããã ãã°éç´ãæ¹åããåæ© å¼ç¤¾ã§ã¯ããã¾ã§ï¼ä»ã大é¨åã¯ï¼ cron + rsync ã使ããé±æ¬¡ãããã§Webãµã¼ãã¼ä¸ã®ãã°ãã¡ã¤ã«ããã¡ã¤ã«ãµã¼ãã¼ã¸è»¢éãããã¨ã§ä¸å¿ã®éç´ãããã¦ãã¾ããã ï¼éç´ã¨ããããã¯ããã¯ã¢ããã¨ãã£ãæå³åãã®æ¹ãå¼·ãããããã¾ããï¼ ãµã¼ãã¼å°æ°ãå°ãªãã£ãé ã¯ãã®ä»çµã¿ã§ãç¹ã«å¤§ããªåé¡ã¯ãªãã£ãã¨æãã¾ããã ãµã¼ãã¹ã®æé·ã«ãããã¦ããµã¼ãã¼å°æ°ãå¢ã
ã´ã¯ãã®å¤§å¹³ã§ãã ç§ã«ã¨ã£ã¦ä¸çªå¤§äºã§æ¿ãã®å¹ããªããã¥ã¼ã¸ã·ã£ã³ã¯ãã ã¾ããããã§ãããç§ã«ã¨ã£ã¦ã¯ã©ã¦ãã³ã³ãã¥ã¼ãã£ã³ã°ã®ãµã¼ãã¹ã®ä¸ã§ä¸çªå¤§äºã§æ¿ããå¹ããªããµã¼ãã¹ã¯S3ã§ãã å¤ç¨®å¤æ§ãªAPIãç¨ãã¦æè»ã«ãã¡ã¤ã«ã®æä½ãåºæ¥ãäºããâ99.999999999ï¼ âã¨è¬³ããã¦ããé«ãèé害æ§ãS3ã«ãããã¼ã¿ãElastic MapReduceãRedshiftãªã©ãç¨ãã¦æ軽ã«ãã¼ã¿è§£æãè¡ããåºç¤ãæä¾ããã¦ãããã¨ãªã©ããã¾ãã«ä¾¿å©ããã¦S3ã®ä»£æ¿ã¨ãªããµã¼ãã¹ãæ¢ãã ãã®ãé£ããç¶æ ã§ãã ãã¡ããå¤ãã®AWSã¦ã¼ã¶ã¼ãåãããã«S3ã®ä¾¿å©ãã享åãã¦ããã¨æãã¾ãããã¤ã³ã¿ã¼ãããä¸ã§ãå¤ãã®ããã°çã§ãã®é åãèªããã¦ãã¾ãããã®ä¸ã§æ¬è¨äºã¯æ¢ã«åå¨ããè¨äºã¨ä¼¼ããããªå 容ãæ¸ãã¦ãã¾ãããããã¾ããããå¼ç¤¾ãªãã®S3ã®ä½¿ãæ¹ã«ã¤ãã¦ãç´¹ä»ãããã¨æãã¾ãã ãªã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}