# Filebeat nested 'fields' values

**URL:** <https://discuss.elastic.co/t/filebeat-nested-fields-values/40281>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [January 27, 2016, 7:51pm UTC](https://discuss.elastic.co/t/filebeat-nested-fields-values/40281 "2016-01-27T19:51:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno\_Lavoie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bruno_lavoie/32/8408_2.png) [@Bruno\_Lavoie](https://discuss.elastic.co/u/Bruno_Lavoie)\
**Post date:** [January 27, 2016, 7:51pm UTC](https://discuss.elastic.co/t/filebeat-nested-fields-values/40281/1 "2016-01-27T19:51:26Z")

</div>

Hello,

I'm looking to use Filebeat to ship logs to our ELK stack cluster.

Editing the yml file, I tried this kind of configuration:

> ```
> fields:
> debug: true
> banana:
> split: chocolate
> 
> ```

but when starting the beat it doesn't work:  
`CRIT Config error: Error reading config file: YAML config parsing failed on filebeat.yml: yaml: unmarshal errors: line 39: cannot unmarshal !!map into string. Exiting.`

Is it possible to nest fields? If yes , how?

I would like to group related custom fields and refer to them in logstash with the [fields][banana][split] reference.

Thanks  
Bruno

---

<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:** [January 27, 2016, 7:59pm UTC](https://discuss.elastic.co/t/filebeat-nested-fields-values/40281/2 "2016-01-27T19:59:15Z")

</div>

Nested fields are supported in the yet to be released Filebeat 1.1; see [PR #506](https://github.com/elastic/beats/pull/506). You can download a nightly snapshot of something that should be very close to the final 1.1; see links in [Insufficient throughput from Filebeat](https://discuss.elastic.co/t/insufficient-throughput-from-filebeat/39564/5).

---

<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:** [July 5, 2017, 9:56pm UTC](https://discuss.elastic.co/t/filebeat-nested-fields-values/40281/3 "2017-07-05T21:56:16Z")

</div>


