Closed yuiseki closed 11 years ago
y-ken様
昨日のraw json対応ですが、fluentdのエンジンに渡しているhashのキーがシンボルになっていたため、プラグイン間の連携で問題が起きてしまうことがわかりました。
mongodbに保存された段階では自動的にキーが文字列に変換されていたので気づくのがおくれました。 datacounterなど別のプラグインで、confで指定された文字列をキーとして参照している所でnilになってしまっていました。 hashのキーを文字列に変換して渡すように修正し、datacounterで正常にカウントできようにしました。
度々お手数掛けましてすみませんが、ご確認いただけますでしょうか。 よろしくお願いしますー。
ありがとうございます! 確かにそれは盲点でしたね。 後ほどマージし、動作確認の後にリリースしたいと思います。
y-ken様
昨日のraw json対応ですが、fluentdのエンジンに渡しているhashのキーがシンボルになっていたため、プラグイン間の連携で問題が起きてしまうことがわかりました。
mongodbに保存された段階では自動的にキーが文字列に変換されていたので気づくのがおくれました。 datacounterなど別のプラグインで、confで指定された文字列をキーとして参照している所でnilになってしまっていました。 hashのキーを文字列に変換して渡すように修正し、datacounterで正常にカウントできようにしました。
度々お手数掛けましてすみませんが、ご確認いただけますでしょうか。 よろしくお願いしますー。