Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
fluentdãå¤æ®µæ§æã«ãã¦ãmongodbã«åºåããã¨ããã§ããã£ãã®ã§ã¡ã¢ã ä¸ã®æ§æã®ããã«ãåãµã¼ãã«fluentd + out_forwardãç½®ããéç´ãããã°ãµã¼ãã«fluentd + out_mongoã§mongodbã«åºåãã¦ããå ´åã«ãä¸æ®µã®fluentdã§buffer_chunk_limitã10mãã大ããå¤ã«ãã¦ããã¨ãã¨ã©ã¼ã«ãªããã¨ãããã¾ãã ã¾ããout_mongoã§buffer_chunk_limitã10m以å ã«ããªãã¨ãããªãçç±ã¯ãfluentdããMongoDBã¸é£æºããéã®æ³¨æç¹ #fluentdãåèã«ãã¦ãã ããã ããã§å¤æ®µæ§æã®å ´åãä¸æµã® buffer_chunk_limitã大ããã¨ä¸æµãã大ããªãµã¤ãºã®ãã¼ã¿ã®å¡ãæµãã¦ãããã¨ãããã¾ãããããåãã¨ã£ãfluentdã¯ããããã®ã¾ã¾output pluginã«æµãå®è£ ã¨ãªã£ã¦
rubyãªãã¦ã人ãªãã¯ã¾ããªããã ãããã©ãfluentdã§fluent-plugin-mongoãå ¥ãã¦ã¤ãããããªãã¨æã£ã¦ gem intall fluent-plugin-mongo ãã¦ãfluentdãåèµ·åãããä¸è¨ã®ããã«è¨ãããããã§ãã **Notice: C extension not loaded. This is required for optimum MongoDB Ruby driver performance. You can install the extension as follows: gem install bson_ext If you continue to receive this message after installing, make sure that the bson_ext gem is in your load path
ãããããã°ãåéãã æ¨å¹´ãããããfluentdã¨ããååãããè³ã«ããããã«ãªãã¾ãããå¼ç¤¾ã§ã®å®éã®ããã¸ã§ã¯ãæ´»ç¨ãåºã¦ãã¦ãã¾ããããã§ä»åã¯åå¿é²ã¨ãã¦ã»ããã¢ãããããã©ã°ã¤ã³ã®ã¤ã³ã¹ãã¼ã«çã®åºæ¬çãªæé ãç´¹ä»ãããã¨æãã¾ãã ã»ããã¢ãã Amazon Linuxã«ã¤ã³ã¹ãã¼ã«ããããã«ãªãã¸ããªãè¨å®ãã¦ç°¡åã¤ã³ã¹ãã¼ã«ãã¾ãã $ sudo vi /etc/yum.repos.d/td.repo [treasuredata] name=TreasureData baseurl=http://packages.treasure-data.com/redhat/$basearch gpgcheck=0 yumã§ã¤ã³ã¹ãã¼ã«ã«ã¦èªåèµ·åè¨å®ãã¾ãã $ sudo yum install td-agent -y $ sudo service td-agent start
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}