Kv plugin recursive with some names before the values


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

1 Like