# How to configure Serializers / Deserializers in the logstash input plugin?

**URL:** <https://discuss.elastic.co/t/how-to-configure-serializers-deserializers-in-the-logstash-input-plugin/112057>\
**Category:** Logstash\
**Created:** [December 16, 2017, 12:18am UTC](https://discuss.elastic.co/t/how-to-configure-serializers-deserializers-in-the-logstash-input-plugin/112057 "2017-12-16T00:18:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![huawang](https://avatars.discourse-cdn.com/v4/letter/h/b77776/32.png) [@huawang](https://discuss.elastic.co/u/huawang)\
**Post date:** [December 16, 2017, 12:18am UTC](https://discuss.elastic.co/t/how-to-configure-serializers-deserializers-in-the-logstash-input-plugin/112057/1 "2017-12-16T00:18:46Z")

</div>

We have custom Deserializer to be used in the logstash input plugin. There are several parameters that need to be configured. We are hoping to be able to pass in the configure via the input plugin section in the logstash config. What's the recommendation to do that?

This is not just for custom deserializers, but applies to the standard ones. For example, the StringDeserializer takes deserializer.encoding config etc, but not sure how to pass this to StringDeserializer from logstash.

---

<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:** [January 13, 2018, 12:19am UTC](https://discuss.elastic.co/t/how-to-configure-serializers-deserializers-in-the-logstash-input-plugin/112057/2 "2018-01-13T00:19:00Z")

</div>

Closed on January 13, 2018, 12:19am UTC

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