Fluentdã触ãããã«ãªã£ã¦ãããããªãã°ãfluentd㫠渡ãããã«è©¦è¡é¯èª¤ãã¦ããæä¸ã td-agent.confãfluent.confãç¨æããã¨ãã«ä»»æã®jsonå½¢å¼ã«ããããã« æ£è¦è¡¨ç¾ãç¨ãã¦formatãæ¸ãå¿ è¦ããããã§ãããformatã®ä½ãæ¹ã¨ããããããã¯æ¹æ³ã«ã¤ã㦠ã©ãããæé ã«ä½ãã¨è¯ãã®ãæ å ±ããããä¸ã«è¦å½ããã試è¡é¯èª¤ä¸ã ãã£ã¨è¯ãæ¹æ³ãæãã¦ãããããã®ã§ãä»ãã£ã¦ããæ¹æ³ãæãã¦ã¿ãã ããããã®çåãã©ããã£ã¦formatãä½ãã®ã ãã¨ãã°fluentdé¢é£ã®æ å ±ã調ã¹ã¦ãã¨ã #fluentd 㧠maillog ãèªã¿è¾¼ã㧠MongoDB ã«æå ¥ - é æ¥è¨ ã¯ã¦ãªæ¯åº format /^(?<date>[^ ]+) (?<host>[^ ]+) (?<process>[^:]+): (?<message>((?<key>[^ :
{{#tags}}- {{label}}
{{/tags}}