# Different charset in filter http

**URL:** <https://discuss.elastic.co/t/different-charset-in-filter-http/215219>\
**Category:** Logstash\
**Created:** [January 15, 2020, 9:56pm UTC](https://discuss.elastic.co/t/different-charset-in-filter-http/215219 "2020-01-15T21:56:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Li](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_li/32/109125_2.png) [@Peter\_Li](https://discuss.elastic.co/u/Peter_Li)\
**Post date:** [January 15, 2020, 9:56pm UTC](https://discuss.elastic.co/t/different-charset-in-filter-http/215219/1 "2020-01-15T21:56:26Z")

</div>

I have a filter http module, but http returns nonUTF8 character sequences.  
Got this error: invalid byte sequence in utf-8

If one use input http, one can add "codec plain" to deal with this.  
But no such option exist for filter http. Is there a work around ?

Thanks,

---

<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:** [February 12, 2020, 9:56pm UTC](https://discuss.elastic.co/t/different-charset-in-filter-http/215219/2 "2020-02-12T21:56:28Z")

</div>

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