Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãåç¥ã®éããApacheã®VirtualHostï¼ä»¥ä¸vhostï¼ãæè¬ãWebãµã¼ãã®ä»®æ³ãã¹ãã¯åä¸ã®Apacheã§è¤æ°ã®ãã¹ããå¦çãã¦ãã¾ãããã®ãããè¤æ°ã®vhostãå«ããCPU使ç¨éã¨ãã£ããªã½ã¼ã¹ä½¿ç¨éãã°ã©ãåãããã¨ã¯ç°¡åãªã®ã§ãããvhoståä½ã¨ãªãã¨åvhostã¸ã®ãªã¯ã¨ã¹ãåä½ã§ã®ãªã½ã¼ã¹ãè¨æ¸¬ãã¦ãããªãã¨ã°ã©ãåãããã¨ã¯ã§ãã¾ãããããããæå³ã§vhoståä½ã§ãªã½ã¼ã¹ä½¿ç¨éãã°ã©ãåãããã¨ããã¨ä¸æ°ã«æ·å± ãä¸ãã£ã¦ãã¾ãã¾ãã ã¾ããuidæ¯ã«å®è¡ããã»ã¹ãåé¢ãã¦ããã°ãpacctã¨ãã£ãããã»ã¹ã¢ã«ã¦ã³ãã£ã³ã°æ©è½ã§uidã®ã«ã¦ã³ãã¯ã§ãã¾ããããªã¢ã«ã¿ã¤ã ã®è¨æ¸¬ï¼ç§ã¨ãåã®ãªã¼ãã¼ï¼ã«ã¯ã³ã¹ããé«ãã£ãããvhostã§æä¾ãã¦ããã³ã³ãã³ãã«ãã£ã¦ã¯ãApache権éã§é ä¿¡ããã¦ãããã®ãããï¼éçã³ã³ãã³ãï¼ãããæ£ç¢ºã«è¨æ¸¬ãããã¨ã¯é£ãããª
ã¯ããã« ãã¬ã¸ã£ã¼ãã¼ã¿ã¯ã¯ã©ã¦ãã§ãã¼ã¿ããã¼ã¸ã¡ã³ããµã¼ãã¹ãæä¾ãã¦ãã¾ãã 2015å¹´1æï¼Fluentd ã®ã³ããã¿ã¼ï¼å¼ç¤¾ã¨ã³ã¸ãã¢ï¼ãä¸å¿ã¨ãªã£ããEmbulkãã¨ããOSSãå ¬éããã¾ããããã®ãã¼ã«ã¯å¤§è¦æ¨¡ãªãã¼ã¿ã»ããã®ãã«ã¯ã¤ã³ãã¼ããè¡ãããã¼ã¿åéãã¼ã«ã®1ã¤ã«å¤§å¥ããããã®ã§ãã â ã¡ã¤ã³ã³ããã¿ã¼ã§ããå½ç¤¾ã¨ã³ã¸ãã¢ï¼å¤æ©ã¯ Fluentd ã MessagePack ã¨ãã£ãOSSãçã¿åºãã¦ãã¾ãããããã¦ï¼ãã¬ã¸ã£ã¼ãã¼ã¿ã®ãã©ãããã©ã¼ã ã®æ ¹å¹¹ãä½ãä¸ããã®ãå½¼ãªã®ã§ãã Embulk ã¨ã¯ä½ãï¼ Embulkã¨ã¯ã©ã®ãããªãã®ãªã®ã§ããããï¼ããã«ã¯ã¤ã³ãã¼ããè¡ãããã®ãã¼ã«ã¯ï¼ã¯ãã以åããããããåå¨ãã¾ããï¼ãã®ä¸ã«ããã¦Embulk ã®ä½ç½®ä»ãã¯ã©ãã«ããã®ã§ããããï¼ãå°ããã¤ç´ã¨ãã¦ããã¾ãããã ãç°¡åã«è¨ãã¨Fluentdã®ãã
Fluentd ã¨ããã½ããã¦ã§ã¢ããããæ¥æ¬å½å ã§ã¯ãããã話é¡ã«ãªã£ã¦ããããä½ãã§ããã®ããä½ã«ä½¿ãã¨å¬ããã®ããä½ã«ä½¿ããã®ããã¨ããç¹ã«ã¤ãã¦è©³ç´°ãããç¥ããªãã¨ãã人ãããããã¾ã å¤ããã¨ã§ãããã ãªã®ã§ãç°¡åã«ã¾ã¨ããã http://fluentd.org/ ãªã以ä¸ã®åå¥é ç®ãã¨ã«æ¸ãã¦ãããããã®æåã«ã¾ã¨ããç½®ãã¦ããã®ã§å¿ãã人ã¯ããã ãèªãã¨ãããã¤ã³ã¹ãã¼ã«ãè¨å®ã«ã¤ãã¦ã¯å°å ¥é¨åã«ã¤ãã¦ã¯æ¥æ¬èªã®è¨äºã¯ããå¤ãããã®ã§ã触ããªãã æ¦è¦ ã§ããã㨠ãã°ã®åé ã»ã³ãµãã¼ã¿çã®åé æ±ç¨ãã¼ã¿å¦çããã»ããµã¨ãã¦ é »åºã¦ã¼ã¹ã±ã¼ã¹ ãã°ã®åé ãã¼ã¿ã®éç´ ç°¡åãªãªã¢ã«ã¿ã¤ã éè¨ ã½ããã¦ã§ã¢ã¨ãã¦ã®ç¹å¾´ ã³ã¢ ãã©ã°ã¤ã³ å®å®æ§ æ§è½ éçºä½å¶ ã³ãã¥ãã㣠ã¶ã£ã¡ããã©ããªã®ï¼ ã¾ã¨ã ç¾æç¹ã§ãè¤æ°ã®å ´æã«åæ£ãããã¼ã¿ã常ã«å¢ãç¶ãããã¼ã¿ã®å®å ¨ãªè»¢
ã¨ããå ¥éè¨äºãæ¸ããã¨æãã¾ããããæé«ã®è¨äºããã£ãã®ã§ããã¾ããã ãã¡ããåç §ããã¨è¯ãã§ãã ã¡ãªã¿ã«ããããã¹ã¯ãªãããããã¨æ¸ããããã¼ã¿ãéãã¦ããã¨ã確èªåºæ¥ã¾ããã use strict; use warnings; use Fluent::Logger; my $logger = Fluent::Logger->new( host => '127.0.0.1', port => 24224, ); $logger->post("access.log", { uri => "http://google.com", request => { addr => "test-addr", ua => "test-ua", referrer => "test-referrer", }, }); 触ã£ãæã便å©ãããªã®ã§ããªããããããã ãããé¢ç½ãæãããã¾ãã
Googleã®èã®åBigQueryãFluentdã¦ã¼ã¶ã¼ã使ããªãçç±ã¯ãªããªã£ãã¨ã®ãã¨ã Googleã®èã®åãBigQueryããFluentdã¦ã¼ã¶ã¼ã使ããªãçç±ããªããªã£ãçç± #gcpja - Qiita ãããGoogle BigQueryã使ã£ã¦è¶ é«éãã°è§£æã !!!!ã¨æã£ã¦ããã¨ããã¾ã§ã®éã®ãã¯é·ãã£ãã Google BigQueryã®ç°å¢ãæ§ç¯ãã Google BigQueryã¯Google Cloud Platformã®ãµã¼ãã¹ã®1ã¤ã§ãããGoogle Cloud Platformã«ã¯æ§ã ãªãµã¼ãã¹ããããçµ±åããã¦ãããããªãããã¦ããªããããªä½ãã«ãªã£ã¦ãããAWSã®Webã¤ã³ã¿ã¼ãã§ã¼ã¹ãé£ãããã©ãGoogle Cloud Platformãããããããªãã®ã§è¦æãã¦ãããããå ¬å¼ã®ããã¥ã¡ã³ããè¨è¿°ãå¤ãã¨ããããã®ã§çã£ã¦ããããã ããã¸
ãã£ã¨ããä»ã®ç¾å ´ã« znc / irc / ikachan ã¨ããç°å¢ãæ§ç¯ãã ãã³ã·ã§ã³ãä¸ãã£ã¦å¢ãã§ä½æ¥ãããã¨ãã¡ã¢ã£ã¦ã¿ã¾ãã æ£æä¼ã¿ã«ã®ãã³ãã³ã¼ãã£ã³ã°ãã¦ã¾ããã ãã£ããã¨ä¸è¦§ fluentdã§nginxã®ã¨ã©ã¼ãã°ãç£è¦ãã¦ikachanã«æãã nagiosããikachanã«æãã gitãªãã¸ããªã®pushãç£è¦ãã¦ikachanã«æãã beproud_botã®çä¼¼ã£åbot unazu_kun bot syonago bot fluentdã§nginxã®ã¨ã©ã¼ãã°ãç£è¦ãã¦ikachanã«æãã ãã¾ã¯nginxã¨ã©ã¼ãã°ã ãç£è¦ãã¦ã¾ãã <match nginx.error.**> type copy <store> type ikachan host xxxxxxxxxxxxxxxxxxxxx port 5979 channel nginx-not
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? è¿å¹´ãèªåã®ä¸ã§éè¨ï¼å¯è¦å㯠Fluentd(datacounter)+Growthforecast ã§å®çªåãã¦ãã¾ããã ããããããã¯ãã§æ°ãã«éè¨ï¼å¯è¦åã®è¦ä»¶ãåºã¦ãããã¨ã¨ã æè¿å¯è¦åãã¼ã«å¨ã㧠ãKibanaã£ã¦ãªãããï¼ããGraphiteã£ã¦ãªãããï¼ããInfluxDBã£ã¦ãªãããï¼ã ãªã©ããã®ãã¼ã«éã¯ä¸ä½ä½ãªãã ããâ¦ï¼ã¨ããã®ãåã ããæ°ã«ãªã£ã¦ãã¾ããã ä»åè¯ãæ©ä¼ãªã®ã§ â¯â¯ã¯ä½ããããã®ãªã®ãï¼ ã¨ããã®ãä¸ã¤ä¸ã¤èª¿ã¹ã¦ã¿ã¾ããã ããããã触ã£ã¦ã¿ãç³»ãã®è¨äºãªã®ã§ ã ãã¶æµ ãæãã§ãã 大å
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}