Problem with [mutate >> convert] more that one field : Error registering plugin

I run smoothly my logstash config with only one mutate:convert command,
but if i add more than one i got this error ..
I tried many syntaxes to specifiy multiple conversions but with no luck ..

tnx for any help !

[ERROR] 2017-10-05 01:31:47.683 [[main]-pipeline-manager] pipeline - Error registering plugin {:plugin=>"#<LogStash::FilterDelegator:0x27006b6b @metric_events_out=LogStash::Instrument::MetricType::Counter - namespaces: [:stats, :pipelines, :main, :plugins, :filters, :"62879aeb7bf7ce27a133326e3e1298c05e9e38ac-3", :events] key: out value: 0, @metric_events_in=LogStash::Instrument::MetricType::Counter - namespaces: [:stats, :pipelines, :main, :plugins, :filters, :"62879aeb7bf7ce27a133326e3e1298c05e9e38ac-3", :events] key: in value: 0, @logger=#<LogStash::Logging::Logger:0x2ebac0dd @logger=#Java::OrgApacheLoggingLog4jCore::Logger:0x2e6387f4>, @metric_events_time=LogStash::Instrument::MetricType::Counter - namespaces: [:stats, :pipelines, :main, :plugins, :filters, :"62879aeb7bf7ce27a133326e3e1298c05e9e38ac-3", :events] key: duration_in_millis value: 0, @id="62879aeb7bf7ce27a133326e3e1298c05e9e38ac-3", @klass=LogStash::Filters::Mutate, @metric_events=#<LogStash::Instrument::NamespacedMetric:0x60755583 @metric=#<LogStash::Instrument::Metric:0x5f69494b @collector=#<LogStash::Instrument::Collector:0x272dc653 @agent=nil, @metric_store=#<LogStash::Instrument::MetricStore:0x32181789 @store=#<Concurrent::map:0x000000000644f4 entries=3 default_proc=nil>, @structured_lookup_mutex=#Mutex:0x780b9504, @fast_lookup=#<Concurrent::map:0x000000000644f8 entries=73 default_proc=nil>>>>, @namespace_name=[:stats, :pipelines, :main, :plugins, :filters, :"62879aeb7bf7ce27a133326e3e1298c05e9e38ac-3", :events]>, @filter=<LogStash::Filters::Mutate convert=>{"Direct Shipment Date"=>"date", "Sender City"=>"string", "Tariff Code"=>"string"}, id=>"62879aeb7bf7ce27a133326e3e1298c05e9e38ac-3", enable_metric=>true, periodic_flush=>false>>", :error=>"translation missing: en.logstash.agent.configuration.invalid_plugin_register"}
[ERROR] 2017-10-05 01:31:47.696 [[main]-pipeline-manager] agent - Pipeline aborted due to error {:exception=>#<LogStash::ConfigurationError: translation missing: en.logstash.agent.configuration.invalid_plugin_register>, :backtrace=>["/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-mutate-3.1.6/lib/logstash/filters/mutate.rb:190:in register'", "org/jruby/RubyHash.java:1342:in each'", "/usr/share/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-mutate-3.1.6/lib/logstash/filters/mutate.rb:184:in register'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:290:in register_plugin'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:301:in register_plugins'", "org/jruby/RubyArray.java:1613:in each'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:301:in register_plugins'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:311:in start_workers'", "/usr/share/logstash/logstash-core/lib/logstash/pipeline.rb:235:in run'", "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:398:in start_pipeline'"]}

just discovered it's not a question of how many, but it's the format itself

ACCEPTS
*string
*integer
*float

DOES NOT ACCEPT
*date

I run smoothly my logstash config with only one mutate:convert command,
but if i add more than one i got this error ..

Next time tell us what you actually tried. Strive to always show what you do instead of attempting to describe it.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.