Class: LogStash::Filters::I18n
- Defined in:
- lib/logstash/filters/i18n.rb
Overview
The i18n filter allows you to remove special characters from from a field
Constant Summary
Constants inherited from Base
Constants included from Config::Mixin
Instance Attribute Summary
Attributes included from Config::Mixin
Attributes inherited from Plugin
Instance Method Summary collapse
Methods inherited from Base
#execute, #initialize, #threadsafe?
Methods included from Config::Mixin
Methods inherited from Plugin
#eql?, #finished, #finished?, #hash, #initialize, #inspect, lookup, #reload, #running?, #shutdown, #teardown, #terminating?, #to_s
Constructor Details
This class inherits a constructor from LogStash::Filters::Base
Instance Method Details
#filter(event) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/logstash/filters/i18n.rb', line 29 def filter(event) return unless filter?(event) transliterate(event) if @transliterate filter_matched(event) end |
#register ⇒ Object
25 26 |
# File 'lib/logstash/filters/i18n.rb', line 25 def register end |