# Throttle filter seems not be working if I chose json as codec for Kafka input plugin

**URL:** <https://discuss.elastic.co/t/throttle-filter-seems-not-be-working-if-i-chose-json-as-codec-for-kafka-input-plugin/150286>\
**Category:** Logstash\
**Created:** [September 28, 2018, 4:30am UTC](https://discuss.elastic.co/t/throttle-filter-seems-not-be-working-if-i-chose-json-as-codec-for-kafka-input-plugin/150286 "2018-09-28T04:30:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weizhu](https://avatars.discourse-cdn.com/v4/letter/w/cdc98d/32.png) [@weizhu](https://discuss.elastic.co/u/weizhu)\
**Post date:** [September 28, 2018, 4:30am UTC](https://discuss.elastic.co/t/throttle-filter-seems-not-be-working-if-i-chose-json-as-codec-for-kafka-input-plugin/150286/1 "2018-09-28T04:30:21Z")

</div>

I tried throttle plugin with Kafka input plugin. If the codec is Json, the throttle doesn't take affect. If I choose plain, the throttle works as expected.

Is this a known issue?

logstash 6.4.1  
logstash-input-kafka (8.1.1)  
logstash-filter-throttle (4.0.4)

I tried a simple filter with string match and it doesn't either.

---

<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:** [October 26, 2018, 4:30am UTC](https://discuss.elastic.co/t/throttle-filter-seems-not-be-working-if-i-chose-json-as-codec-for-kafka-input-plugin/150286/2 "2018-10-26T04:30:29Z")

</div>

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