orenoblog

エンジニアになりたいExcel方眼紙erの物語

fluentd

elasticsearch利用中困ったこと

countしか利用できない。どうやらfluent-plugin-elasticsearchが転送するデータがString型で登録されているのが原因みたい。送信時に型変換するよう修正するのが当面の目標。 今まで作られたINDEXは削除ですかね〜〜

Magentoのsystem.logをfluentdで収集

正規表現できない情弱です。 Magentoのsystem.logも収集したいなあと試しに頑張った結果まずはこのようになりました。 <source> type tail path <MAGENTO_LOG_DIR>/system.log format /^(?<date>[^ ]+) (?<debug_type>[^:]*\:)(?<message>[^:].*)$/ tag magehost.magento.systemlog pos_file /var/log/td-agent/ma</message></debug_type></date></magento_log_dir></source>…

Kibana3 + Elasticsearch + fluent-plugin-elasticsearchに魅せられて仕事に手がつかない

ひとまず環境ととのえたのでメモ。試行錯誤して使ってます。QueryをPinすると編集できなくなる。Query @logname:<ログ名> AND 条件..

fluentdの警告

buffer_type file buffer_chunk_limitを増やした。 今は発生してない 2013-11-22 16:07:18 +0900 [warn]: Size of the emitted data exceeds buffer_chunk_limit. 2013-11-22 16:07:18 +0900 [warn]: This may occur problems in the output plugins ``at th…