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
<record>
updated_at ${time}
</record>
@type copy
<store>
@type mongo
database test
host localhost:27017
user user1
password pwd1
collection logs
include_time_key true
time_key created_at
</store>
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.