2012-09-01から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を書き込ん…
/etc/fluent-agent-lite.conf の LOGS=$(cat <<"EOF" ... EOF )を LOGS=$(cat <