# 使用logstash7.4.2通过http方式接收数据发到es出现中文乱码

**URL:** https://discuss.elastic.co/t/logstash7-4-2-http-es/260395
**Category:** 中文提问与讨论
**Created:** [January 7, 2021, 1:34am UTC](https://discuss.elastic.co/t/logstash7-4-2-http-es/260395 "2021-01-07T01:34:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![111351](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/111351/32/70125_2.png) [@111351](https://discuss.elastic.co/u/111351)
#### Post date: [January 7, 2021, 1:34am UTC](https://discuss.elastic.co/t/logstash7-4-2-http-es/260395/1 "2021-01-07T01:34:35Z")

</div>

您好，我使用得配置文件如下，测试中通过浏览器地址栏直接发送请求会出现中文乱码，但是通过postman发送却可以正常显示。  
input{  
http{  
}  
}  
output{  
stdout{}  
}

---

<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 4, 2021, 1:34am UTC](https://discuss.elastic.co/t/logstash7-4-2-http-es/260395/2 "2021-02-04T01:34:59Z")

</div>

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