fluent / fluent/fluent-plugin-mongo

undefined method `to_msgpack' for 2019-12-17 23:45:44 +0530:Time - output plugin

Open
#136 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
175
Forks
56
PR merge metrics
No merged PRs in 30d

Description

Needs to store multiple Time type keys in mongodb. I am successfully able to change default time key to created_at but i want one more key with name updated_at.

>
@type record_transformer
enable_ruby

updated_at ${time}

>

@type copy

@type mongo
database test
host localhost:27017
user user1
password pwd1
collection logs
include_time_key true
time_key created_at

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.