# Chinese characters as field names using logstash

**URL:** <https://discuss.elastic.co/t/chinese-characters-as-field-names-using-logstash/68506>\
**Category:** Logstash\
**Created:** [December 9, 2016, 4:03am UTC](https://discuss.elastic.co/t/chinese-characters-as-field-names-using-logstash/68506 "2016-12-09T04:03:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![HungryHumps](https://avatars.discourse-cdn.com/v4/letter/h/ce73a5/32.png) [@HungryHumps](https://discuss.elastic.co/u/HungryHumps)\
**Post date:** [December 9, 2016, 4:03am UTC](https://discuss.elastic.co/t/chinese-characters-as-field-names-using-logstash/68506/1 "2016-12-09T04:03:20Z")

</div>

Hello,

I am trying to parse a csv file with its field names as Chinese characters, but logstash does not accept non-ASCII characters in the configuration file.  
Is there really no way of storing field names in chinese in elasticsearch? Has anyone found an alternative for this issue before?

Thanks in advance,  
Humphrey

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [December 9, 2016, 6:38am UTC](https://discuss.elastic.co/t/chinese-characters-as-field-names-using-logstash/68506/2 "2016-12-09T06:38:18Z")

</div>

What's the exact error message? What's the encoding of your configuration file? I would expect non-ASCII characters to work as long as they're UTF-8 encoded.

---

<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 6, 2017, 6:38am UTC](https://discuss.elastic.co/t/chinese-characters-as-field-names-using-logstash/68506/3 "2017-01-06T06:38:48Z")

</div>

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