# How to extract quoted values in ingest mode kv processor

**URL:** <https://discuss.elastic.co/t/how-to-extract-quoted-values-in-ingest-mode-kv-processor/99082>\
**Category:** Elasticsearch\
**Created:** [September 1, 2017, 4:51am UTC](https://discuss.elastic.co/t/how-to-extract-quoted-values-in-ingest-mode-kv-processor/99082 "2017-09-01T04:51:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivofrolov](https://avatars.discourse-cdn.com/v4/letter/i/ecd19e/32.png) [@ivofrolov](https://discuss.elastic.co/u/ivofrolov)\
**Post date:** [September 1, 2017, 4:51am UTC](https://discuss.elastic.co/t/how-to-extract-quoted-values-in-ingest-mode-kv-processor/99082/1 "2017-09-01T04:51:46Z")

</div>

Hello. I have messages like this `key1=value1,key2='foo value3=foo,bar,baz'`  
So there are quoted values that contains patterns similar to what I have to write in kv processor settings. When I use kv processor it splits also values in quotes and that is incorrect result in my case.

Is it possible to extract field like this `{"key2": "foo value3=foo,bar,baz"}` with kv processor?

---

<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:** [September 29, 2017, 4:52am UTC](https://discuss.elastic.co/t/how-to-extract-quoted-values-in-ingest-mode-kv-processor/99082/2 "2017-09-29T04:52:02Z")

</div>

Closed on September 29, 2017, 4:52am UTC

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