Class: Fluent::MongoOutputTagCollection
- Inherits:
-
MongoOutput
- Object
- BufferedOutput
- MongoOutput
- Fluent::MongoOutputTagCollection
- Defined in:
- lib/fluent/plugin/out_mongo_tag_collection.rb
Constant Summary
Constants inherited from MongoOutput
Fluent::MongoOutput::LIMIT_AFTER_v1_8, Fluent::MongoOutput::LIMIT_BEFORE_v1_8
Instance Attribute Summary
Attributes inherited from MongoOutput
#collection_options, #connection_options
Instance Method Summary collapse
Methods inherited from MongoOutput
#emit, #format, format_nocache, #initialize, #shutdown, #start, #write
Methods included from MongoUtil
Constructor Details
This class inherits a constructor from Fluent::MongoOutput
Instance Method Details
#configure(conf) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/fluent/plugin/out_mongo_tag_collection.rb', line 9 def configure(conf) super @tag_mapped = true if remove_prefix_collection = conf['remove_prefix_collection'] @remove_tag_prefix = Regexp.new('^' + Regexp.escape(remove_prefix_collection)) end log.warn "'mongo_tag_collection' deprecated. Please use 'mongo' type with 'tag_mapped' parameter" end |