2012-09-11から1日間の記事一覧
in_tailプラグインでformatにjsonを指定すると、jsonをそのまま(文字列にせずに)読める。このように設定しておいて <source> type tail path /tmp/error.log pos_file /tmp/error.log.pos tag debug.error format json </source> <match debug.**> type stdout </match>ログファイルにjsonを書き込ん…
in_tailプラグインでformatにjsonを指定すると、jsonをそのまま(文字列にせずに)読める。このように設定しておいて <source> type tail path /tmp/error.log pos_file /tmp/error.log.pos tag debug.error format json </source> <match debug.**> type stdout </match>ログファイルにjsonを書き込ん…