# Winlogbeatログ送信時に文字化けします。

**URL:** <https://discuss.elastic.co/t/winlogbeat/222396>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [March 6, 2020, 2:51am UTC](https://discuss.elastic.co/t/winlogbeat/222396 "2020-03-06T02:51:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![knm](https://avatars.discourse-cdn.com/v4/letter/k/9fc348/32.png) [@knm](https://discuss.elastic.co/u/knm)\
**Post date:** [March 6, 2020, 2:51am UTC](https://discuss.elastic.co/t/winlogbeat/222396/1 "2020-03-06T02:51:41Z")

</div>

logstashにwinlogbeatのログを送信したところ、下記のような警告が出力されログのエラーメッセージが日本語で表示されません。設定方法などございましたら、ご教授いただけると助かります。

> [2020-03-06T02:38:35,180][WARN][logstash.codecs.line][main] Received an event that has a different character encoding than you configured.
> 
> ![コメント 2020-03-06 114510](https://us1.discourse-cdn.com/elastic/original/3X/a/4/a4890b0ee18f8d09d2651d77c15434e4b8e48dbb.png)

●logstashの変換ファイル(logstash.conf)

> input {  
> beats {  
> port =\> 5044  
> }  
> }  
> output {  
> elasticsearch {  
> hosts =\> "elasticsearch:9200"  
> user =\> "elastic"  
> password =\> "changeme"  
> }  
> }

●logstash.yml

> server.name: kibana  
> server.host: "0"  
> elasticsearch.hosts: ["[http://elasticsearch:9200](http://elasticsearch:9200)" ]  
> xpack.monitoring.ui.container.elasticsearch.enabled: true
> 
> elasticsearch.username: elastic  
> elasticsearch.password: changeme

---

<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:** [April 3, 2020, 2:51am UTC](https://discuss.elastic.co/t/winlogbeat/222396/2 "2020-04-03T02:51:43Z")

</div>

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