Sha256: 1b7df0b9752de689853362af79cc72ab71b0f2378cf1d50b8783232bbf37f519
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
= MongoDB output plugin for Fluent == Component === MongoOutput Store fluent-event as MongoDB Document to MongoDB database. MongoOutput set 'time' field to a document by default. You set -false- to 'include_time_key' parameter if you disable this behaivor. === MongoBackup Store fluent-event to capped collection for backup. == Configuratin === MongoOutput <match mongo.**> type mongo database fluent collection test # following attibutes are optional host fluenter port 10000 # You can use 'capped' if you want to use capped collection capped capped_size 100m # Other buffer configurations here </match> === Backup to local capped collection Use mongo_backup type. mongo_backup alwalys use capped collection. <match ...> type mongo_backup capped_size 100m <store> type tcp host 192.168.0.13 ... </store> </match> == TODO === More configuration - Create Index - Select insert or update - etc === Infer collection name Fluent tag is similar to database.collection in Mongo. This feature makes configuration more easily. == Tool You can tail mongo capped collection. mongo-tail -f == Copyright Copyright:: Copyright (c) 2011- Masahiro Nakagawa License:: Apache License, Version 2.0
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-mongo-0.4.0 | README.rdoc |