fluent-plugin-weather書いた
ちょっと必要っぽいことになったので。
なにか行動が起きたときの天気をログに残したくて、その行動は頻繁に起きない。みたいな特定の状況でしかいらなそう。うんこログをfluentdに投げて、便秘と天気の関係性でも探ってください。
out_copy的な感じで, weather fieldを追加してcopyするoutput plugin。
latitudeとlongitudeを付けてログを投げてあげる必要あり。
# ↓みたいな感じで logger("tag", { foo: "bar", latitude: 23, longitude: 124})