KV filter trims only values not keys

Description

in my log line i have line:
2012-11-30 23:59:59 CET [ISP.0090.0003I] tp.crm.customer.pub:getCustomerProfilesWithServices - START service [customerIdentificationValue=905310827413029871688273]

my kv config:
kv {
type => "foo" trim => "[];," fields => ["params"]
}

output:
{"@source":"tcp://0.0.0.0:3333/client/127.0.0.1:42198","@tags":["output"],"@fields":{"timestamp":["2012-11-30 23:59:59"],"servicename":["tp.channel.portal.customer.pub:getCustomerProfilesWithServices"],"startstop":["START"],"[customerId":"905310827413029871688273"},"@timestamp":"2012-11-30T22:59:59.000Z","@source_host":"0.0.0.0","@source_path":"/client/127.0.0.1:42198","@message":"2012-11-30 23:59:59 CET [ISP.0090.0003I] tp.channel.portal.customer.pub:getCustomerProfilesWithServices - START service [customerId=905310827413029871688273]\n","@type":"foo"}

So in [customerId [ didnt get trimmed

Environment

None

Status

Assignee

Jordan Sissel

Reporter

Maciej Piasecki

Labels

None

Fix versions

Priority

Configure