# Problem with kv filter and empty value

**URL:** <https://discuss.elastic.co/t/problem-with-kv-filter-and-empty-value/34306>\
**Category:** Logstash\
**Created:** [November 11, 2015, 8:46am UTC](https://discuss.elastic.co/t/problem-with-kv-filter-and-empty-value/34306 "2015-11-11T08:46:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzrucher](https://avatars.discourse-cdn.com/v4/letter/r/76d3ee/32.png) [@rzrucher](https://discuss.elastic.co/u/rzrucher)\
**Post date:** [November 11, 2015, 8:46am UTC](https://discuss.elastic.co/t/problem-with-kv-filter-and-empty-value/34306/1 "2015-11-11T08:46:00Z")

</div>

Hi,

I'm trying to parse some syslog-ng event using grok and the kv filter.

I've this kind of log:  
AMOUNT=-4,700.00\tEXCH.RATE=\tCCY=ETB\t

I use the KV filter like this :  
kv {  
field\_split =\> "\t"  
source =\> "syslogMessage"   
}

when splitting with the KV, the I get EXCH.RATE with value "CCY=ETB". But I want to have EXCH.RATE with null value instead. What I'm doing wrong ?

---

<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, 5:23am UTC](https://discuss.elastic.co/t/problem-with-kv-filter-and-empty-value/34306/2 "2017-07-06T05:23:13Z")

</div>


