# Kv plugin recursive with some names before the values

**URL:** <https://discuss.elastic.co/t/kv-plugin-recursive-with-some-names-before-the-values/53488>\
**Category:** Logstash\
**Created:** [June 21, 2016, 11:51am UTC](https://discuss.elastic.co/t/kv-plugin-recursive-with-some-names-before-the-values/53488 "2016-06-21T11:51:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ImInLoveWithCacao](https://avatars.discourse-cdn.com/v4/letter/i/e19adc/32.png) [@ImInLoveWithCacao](https://discuss.elastic.co/u/ImInLoveWithCacao)\
**Post date:** [June 21, 2016, 11:51am UTC](https://discuss.elastic.co/t/kv-plugin-recursive-with-some-names-before-the-values/53488/1 "2016-06-21T11:51:26Z")

</div>

Hey,

I'm currently trying to use the kv plugin on some log event. The part I want to parse with kv looks like this :  
`key1 = value1, key2 = some_function_name(key21 = value21, key22 = value22), key3 = value3`  
So the "some\_function\_name" here is what causes problem, otherwise the recursive kv would work fine.  
Do you think there is a way for my output to look somewhat like this :  
`{ "key1" : "value1", "key2" : "some_function_name", { "key21" : "value21", "key22" : "value22" } "key3" : "value3" }`  
Or even just let kv not consider the "some\_function\_name" string?  
Thank you

---

<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:51am UTC](https://discuss.elastic.co/t/kv-plugin-recursive-with-some-names-before-the-values/53488/2 "2017-07-06T04:51:30Z")

</div>


