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

**URL:** https://discuss.elastic.co/t/problem-with-mutate-convert-more-that-one-field-error-registering-plugin/102776
**Category:** Logstash
**Created:** [October 4, 2017, 11:41pm UTC](https://discuss.elastic.co/t/problem-with-mutate-convert-more-that-one-field-error-registering-plugin/102776 "2017-10-04T23:41:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![enrico\_villa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/enrico_villa/32/78353_2.png) [@enrico\_villa](https://discuss.elastic.co/u/enrico_villa)
#### Post date: [October 4, 2017, 11:41pm UTC](https://discuss.elastic.co/t/problem-with-mutate-convert-more-that-one-field-error-registering-plugin/102776/1 "2017-10-04T23:41:16Z")

</div>

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:🗺0x000000000644f4 entries=3 default\_proc=nil\>, @structured\_lookup\_mutex=#Mutex:0x780b9504, @fast\_lookup=#\<Concurrent:🗺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'"]}

---

<div class="post-metadata">

### Author: ![enrico\_villa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/enrico_villa/32/78353_2.png) [@enrico\_villa](https://discuss.elastic.co/u/enrico_villa)
#### Post date: [October 4, 2017, 11:56pm UTC](https://discuss.elastic.co/t/problem-with-mutate-convert-more-that-one-field-error-registering-plugin/102776/2 "2017-10-04T23:56:51Z")

</div>

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

ACCEPTS  
\*string  
\*integer  
\*float

DOES NOT ACCEPT  
\*date

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [October 5, 2017, 3:43am UTC](https://discuss.elastic.co/t/problem-with-mutate-convert-more-that-one-field-error-registering-plugin/102776/3 "2017-10-05T03:43:04Z")

</div>

> 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.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 2, 2017, 3:43am UTC](https://discuss.elastic.co/t/problem-with-mutate-convert-more-that-one-field-error-registering-plugin/102776/4 "2017-11-02T03:43:23Z")

</div>

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