# Logstash Parsing Key Value Pair without quotes

**URL:** <https://discuss.elastic.co/t/logstash-parsing-key-value-pair-without-quotes/65457>\
**Category:** Logstash\
**Created:** [November 9, 2016, 9:08am UTC](https://discuss.elastic.co/t/logstash-parsing-key-value-pair-without-quotes/65457 "2016-11-09T09:08:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gringo](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@gringo](https://discuss.elastic.co/u/gringo)\
**Post date:** [November 9, 2016, 9:08am UTC](https://discuss.elastic.co/t/logstash-parsing-key-value-pair-without-quotes/65457/1 "2016-11-09T09:08:29Z")

</div>

I have a situation where

- extension="field1= value1\_1 value1\_2 |field2=value3\_1 value\_3\_2"

The intend output is  
field1 = Value1\_1 value2\_2  
field2 = Value2\_1 value2\_2

I have intention to use the kv filter

The challenge here is that there is no quotes for "" Value1\_1 value2\_2. This will cause problem with the KV filter.

Anyone knows how to resolve this?

---

<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:** [December 7, 2016, 9:08am UTC](https://discuss.elastic.co/t/logstash-parsing-key-value-pair-without-quotes/65457/2 "2016-12-07T09:08:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
