README.rdoc in fluent-plugin-mongo-0.7.7 vs README.rdoc in fluent-plugin-mongo-0.7.8
- old
+ new
@@ -141,9 +141,20 @@
# You can store last ObjectId to tail over server's shutdown
id_store_file /Users/repeatedly/devel/fluent-plugin-mongo/last_id
</source>
+You can also use _url_ to specify the database to connect.
+
+ <source>
+ type mongo_tail
+ url mongodb://user:password@192.168.0.13:10249,192.168.0.14:10249/database
+ collection capped_log
+ ...
+ </source>
+
+This allows the plugin to read data from a replica set.
+
= NOTE
== Broken data as a BSON
Fluentd event sometimes has an invalid record as a BSON.