# Logstash crashes when converting fields to ECS Format

**URL:** https://discuss.elastic.co/t/logstash-crashes-when-converting-fields-to-ecs-format/165306
**Category:** Logstash
**Tags:** ecs-elastic-common-schema
**Created:** [January 22, 2019, 10:32pm UTC](https://discuss.elastic.co/t/logstash-crashes-when-converting-fields-to-ecs-format/165306 "2019-01-22T22:32:53Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [January 22, 2019, 10:46pm UTC](https://discuss.elastic.co/t/logstash-crashes-when-converting-fields-to-ecs-format/165306/2 "2019-01-22T22:46:06Z")

</div>

In more recent version you get a different error message

[ERROR] 2019-01-22 17:40:57.190 [Ruby-0-Thread-4: :1] pipeline - Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash. {:pipeline\_id=\>"main", "exception"=\>"Could not set field 'file' on object 'bar' to value 'foo'.This is probably due to trying to set a field like [foo][bar] = someValuewhen [foo] is not either a map or a string", "backtrace"=\>["org.logstash.Accessors.setChild(Accessors.java:120)"

Either way, I would not expect it to work. "destination" is a string and you are trying to make it an object.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-crashes-when-converting-fields-to-ecs-format/165306)._
