You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
æ®æ®µ Vim 㧠Ruby ãæ¸ãã¦ããã®ã§ããï¼ããããã° Ruby ãæ¸ãã®ãè£å©ãã Vim ãã©ã°ã¤ã³å°ãªããªãã¨æã£ã¦å æ㯠Ruby ãã©ã°ã¤ã³ä½ææéã«ãã¦ã¿ã¾ããï¼ æ¬ã¨ã³ããªã§ã¯åãä½æãã3ã¤ã®ãã©ã°ã¤ã³ãç´¹ä»ãã¾ãï¼ unite-ruby-require.vim require 対象ã®è£å®ããã unite.vim ã½ã¼ã¹ï¼ neco-ruby-keyword-args neocomplcache 㧠Ruby 2.0 ã®ãã¼ã¯ã¼ãå¼æ°ãè£å® vim-textobj-ruby Ruby ã®ãããã¯ãããã¹ããªãã¸ã§ã¯ãå unite-ruby-require.vim Ruby ã§å¤é¨ã®ã½ã¼ã¹ãèªã¿è¾¼ãã®ã«ä½¿ã require ã§ããï¼æ¨æºã ãã§ã大éã®ã©ã¤ãã©ãªãããï¼ãªããªãå ¨é¨è¦ããã®ã¯å¤§å¤ã§ãï¼ ããã§ï¼unite.vim 㧠require ã®åè£ãã¤ã³ã¯ãªã¡
fluent-plugin-graphite å©ç¨æã®ã¡ã¢ã Opsçéã§ã®å¯è¦åã¨ããã¨ãããä½å¹´ãã¯Graphiteã§ã°ã©ããä½ã£ã¦ãããä»ã®ãã¼ã«ã§è¡¨ç¤ºãããã¿ãããªã®ãå¤ããFluentdã®ãã¼ã¿ãå¯è¦åãããå ´åã¯GrowthForecastã使ããããã¨ãå¤ããã©ãGraphite使ã£ã¦ã¿ãã¨ããããªãã¼ã«ã¨çµã¿åããããã¦ãããããã Fluentd ãã Graphite ã¸ãã¼ã¿ãéãã®ã¯ Fluent-plugin-graphite ã使ãã°ç°¡åã«å®ç¾ã§ããããªãã ãã©ããã©ã°ã¤ã³å´ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹(:key ã :count ã¨ãã£ããã¼ãå¿ è¦)ã«åããã¦å ¥åã®ãã¼ã¿ãæ´å½¢ããå¿ è¦ãããã ãããã£ã調æ´ã¯ãout_map ã使ããã¨ã§å®ç¾ã§ããã <source> type tail format apache path /var/log/httpd/access
Fluentdã§åå¾ããæ å ±ãå¯è¦åãããã¨ããfluent-plugin-growthforecastã使ã£ã¦GrowthForecastã«ã°ã©ããä½ãæ¹æ³ãããç¥ããã¦ãããGrowthForecastã¯ã¤ã³ã¹ãã¼ã«å¾ããã«ä½¿ãå§ãããããæ軽ãã¼ã«ãªãã ãã©ãããããé¢åããããèªåã§ç°å¢ãä½ãã®ãé¢åãã¨ããã¨ãã«ã¯StatHatã使ãã¨ç°¡åã«å¯è¦åãå®ç¾ã§ããã¨ãã話ã StatHatã¯ã·ã³ãã«ãªã¤ã³ã¿ã¼ãã§ã¼ã¹ã§å¿ è¦ååãªæ©è½ãããããããç¡æã§ä½¿ããã¨ãããµã¼ãã¹ãHTTPã§ãã¼ã¿ãç»é²ããã ãã§ããããªã°ã©ããç°¡åã«çæã§ããã®ã§ãå¹ åºãç¨éã§å©ç¨ã§ããã 以éãFluentdã¨StatHatãçµã¿åããã¦å©ç¨ããããã®è¨å®ã説æããã ä½æ¥ Stathatã®Sign upã«ã¢ã¯ã»ã¹ãã¦ã¡ã¼ã«ã¢ãã¬ã¹ãç»é²ããæãè¿ãå±ãã¡ã¼ã«å ã®URLãããã¹ã¯ã¼ããç»é²ããã°ãã使ãå§
ã¯ããã« ã¨ã³ã¸ãã¢ã®@ryooo321ã§ãã ãããããé¡ããã¾ãã ä»åã¯å¼ç¤¾ã§éç¨ä¸ã®å ¨ã¢ããªã§å©ç¨ãã¦ããè¡ååæãã©ãããã©ã¼ã ã«ã¤ãã¦ãç´¹ä»ãããã¨æãã¾ãã 2012å¹´ã®6æã«ä½ã£ã¦ãããç´9ã¶æã»ã©éç¨ãã¦ãã¾ãã ç¹å¾´ ã»æãããããªããã¼ã¿ã¹ã㢠ã»ãã¾ãã¾ãªåãåãã対å¿ã§å©ç¨ã§ããæè»ãªã¯ã¨ãª ã»æ©æãªMap/Reduceã«ããéè¨ ã»éè¨çµæãCSVãã°ã©ãã§å¯è¦å ç®ç ã»ã¦ã¼ã¶ã¼ã®åãåããã«å¹ççã«å¯¾å¿ããã¢ããªã®ä¼ç»ã»éçºã«éä¸ãããã ã»ã¦ã¼ã¶ã¼ã®è¡åãæ½è±¡åã»å¯è¦åãããã¨ã§PDCAã®è³ªãåä¸ããããã è¡åãã°ã®ããã¼ 1. ã¦ã¼ã¶ã¼ããRuby on Rails製ã®ã½ã¼ã·ã£ã«ã²ã¼ã ã«ãªã¯ã¨ã¹ã 2. Railsãããã¼ã«ã«ã®fluentdã«ãã°åºå(fluent-logger-ruby) 3. ãã¼ã«ã«ã®fluentd
fluent-plugin-forestã¯ã¿ã°ãåçã«æ±ããã¨ãã§ãã¦ãé常ã«ä¾¿å©ãªãã©ã°ã¤ã³ã§ãã ãã¸ã§ @tagomoris ++ ã§ãã <match service.*> type forest subtype file remove_prefix service <template> time_slice_format %Y%m%d%H compress yes path /var/log/${tag}.*.log </template> </match> ã¨æ¸ãã¦ããã¨ãservice.hogeãservice.fugaãä¸ã¤ã®è¨å®ã§ /var/log/hoge.2012112019.XXXXX.log /var/log/fuga.2012112019.XXXXX.log ãåãåºãã¦ããã¾ãã 便å©ãªãã§ãã次ã®ãããªãã¼ãº æ°ããã¿ã°(ãã°)ã追å ããããã¨ãç¥ããã æ°
rubygems fluent-plugin-filter | RubyGems.org | your community gem host github muddydixon/fluent-plugin-filter · GitHub ãããããã®é²è¦§ãå¤ãããããã°ãã¼ã¿æ代()ã ããã£ã¦ããã¡ã®ãã£ã¹ã¯ãããã¾ãå§è¿«ããããªãããã åé¤ããããã¦ãããããï¼ã§ããexec_filterã¨ãã¯ããã©ãããy-ken/fluent-plugin-rewrite-tag-filter · GitHubã¯ã¡ãã£ã¨éããã ããªã ã¨ããä¸è¨ã®ãããªäººã対象ã§ãã <match test.**> type filter all allow deny status: 404, status: 403, user-agent: /Googlebot/ </match> <match filtere
ã¦ã£ã¼ã¯ãªã¼Fluentdã¦ã¼ã¹ã±ã¼ã¹ã«åå ãã¦ãfluent-plugin-dstatã®ç´¹ä»è¨äºãæ¸ãããã¨æãã¾ãã dstatã¯netstatãiostatãªã©ãã¾ã¨ãããããªãã¼ã«ã§ããããªæãã§åãã¿ã¤ã ãã¬ã¼ã ã§ã®ãã·ã³ã®ãªã½ã¼ã¹æ å ±ãã¨ãã¾ãã ã©ããªãªãã·ã§ã³ããããã«ã¤ãã¦ã¯å ¬å¼ãè¦ã¦ãã ããã yumã¨ãã§å ¥ããã¨å¤ããã¼ã¸ã§ã³ãå ¥ã£ãããã¾ãããææ°çã¯7.2ã§ã使ãããã©ã°ã¤ã³ãå¢ãã¦ãããã¾ãã 主㫠top-xxx-adv ç³»ãå¢ãã¦ãã¾ãã ã©ããããã®ãã¨ããã¨ãä¾ãã°å¤ããã¼ã¸ã§ã³ã§ããã top-cpu ã¯ãã®ããã«CPUå©ç¨çã®é«ãããã»ã¹ã表示ãã¦ããã¾ããã top-cpu-advã ã¨ããã«ç´°ããæ å ±ãã¨ããã®ã¨ãã¡ããã¨ããã»ã¹åãå©ç¨çãªã©é ç®ããããã¦ããã®ã§ãfluentã®ãã©ã°ã¤ã³ã¨ãã¦jsonã®å½¢å¼ã«ããããã®ã§ãã dst
åã«èªåã§æ¸ãã fluentdã®ããã®ãã©ã°ã¤ã³ãã¤ãããæ¸ãæé - tagomorisã®ã¡ã¢ç½®ãå ´ ã¯ããã¸ãéå®ãã¦ããã®ã ããæ¸ãããããå¾ã«ãªã£ã¦å®ã¯ç¾å¨ãã§ã« bundle gem ã³ãã³ãã使ããããããè¯ãããã ã¨ãããã¨ãããã£ã¦ãã¾ã£ããã°ãã°ããã¦ã¦ç§»è¡ãã¦ãªãã£ãã ã§ãã¾ãã²ã¨ã¤ãã©ã°ã¤ã³ãæ¸ããã¨ã«ããã®ã§ã¤ãã§ã« bundle ã使ã£ãæé ããã£ããã¾ã¨ãã¦ããã以ä¸ã®ã¨ã³ããªãããã¸ãåèã«ããã¦ããã£ãã T-POINTãåå¾ããã¹ã¯ãªãããGistãã移å, Bundlerã使ã£ãGemä½æã¡ã¢ (èªåç¨) - ãã ã®ã«ã£ã(2012-02-18) æºåã¨ãã£ã¬ã¯ããªããªã¼ã®ä½æ bundler ã¯å¿ è¦ãªã®ã§ããªã«ã¯ãªãã¨ãå ¥ãã¦ãããã gem install bundler ããã¦ãã©ã°ã¤ã³ç¨ãã£ã¬ã¯ããªããªã¼ãä½æãããä»å㯠DataCount
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}