We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f39ed commit 670b533Copy full SHA for 670b533
lib/fluent/plugin/in_mongo_tail.rb
@@ -69,6 +69,8 @@ def configure(conf)
69
raise Fluent::ConfigError, "One of 'database' or 'url' must be specified"
70
end
71
72
+ date = Time.now
73
+ @collection = date.strftime(collection)
74
@last_id = @id_store_file ? get_last_id : nil
75
@connection_options[:ssl] = @ssl
76
0 commit comments