fluent/fluent-plugin-mongo

Unable to use field called time with Double value

process0 opened this issue · 1 comments

I have a records I'm ingesting that have a time key that needs to be a Double value. By default this plugins time_key is set to time and the value is converted to a Date object. I tried setting the time_key to another name, which converts the value to a Date object in that field, but the field time from the original document is no longer preserved. I have also set include_time_key false, and the time field has not been preserved.

Any ideas why?

I forgot to include keep_time_key in my parse block for the source. That combined with include_time_key false solves my issue. Closing.