# How to parse a field in YAML syntax with Logstash

**URL:** <https://discuss.elastic.co/t/how-to-parse-a-field-in-yaml-syntax-with-logstash/57000>\
**Category:** Logstash\
**Created:** [August 2, 2016, 11:41am UTC](https://discuss.elastic.co/t/how-to-parse-a-field-in-yaml-syntax-with-logstash/57000 "2016-08-02T11:41:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![widhalmt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/widhalmt/32/8237_2.png) [@widhalmt](https://discuss.elastic.co/u/widhalmt)\
**Post date:** [August 2, 2016, 11:41am UTC](https://discuss.elastic.co/t/how-to-parse-a-field-in-yaml-syntax-with-logstash/57000/1 "2016-08-02T11:41:19Z")

</div>

Hi,

I want to parse Puppet reports with Logstash. Since they are in YAML I need a way to parse a YAML field in Logstash. I found [https://github.com/logstash-plugins/logstash-filter-yaml](https://github.com/logstash-plugins/logstash-filter-yaml) but this seems to work only with Logstash \< 2.x . Since this is a test and training environment I want to plan for the future and use Logstash 5.x(alpha).

Could anyone give me a hint how to translate YAML with Logstash?

Cheers,  
Thomas

---

<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 6, 2017, 4:45am UTC](https://discuss.elastic.co/t/how-to-parse-a-field-in-yaml-syntax-with-logstash/57000/2 "2017-07-06T04:45:21Z")

</div>


