# Found encoding issue with Filebeat MS SQL module

**URL:** https://discuss.elastic.co/t/found-encoding-issue-with-filebeat-ms-sql-module/315351
**Category:** Beats
**Tags:** beats-module
**Created:** [September 28, 2022, 10:03am UTC](https://discuss.elastic.co/t/found-encoding-issue-with-filebeat-ms-sql-module/315351 "2022-09-28T10:03:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![imad\_orange](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/imad_orange/32/94654_2.png) [@imad\_orange](https://discuss.elastic.co/u/imad_orange)
#### Post date: [September 28, 2022, 10:03am UTC](https://discuss.elastic.co/t/found-encoding-issue-with-filebeat-ms-sql-module/315351/1 "2022-09-28T10:03:54Z")

</div>

Hello,

For people who find a probleme to read files Error of SQL server with the module mssql, you should add **encoding: utf-16le-bom** in module\mssql\log\config\config.yml file.

Thanks to @varun1992 ([Found encoding issue with Filebeat MS SQL module](https://discuss.elastic.co/t/found-encoding-issue-with-filebeat-ms-sql-module/242336))

---

<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: [October 26, 2022, 12:04pm UTC](https://discuss.elastic.co/t/found-encoding-issue-with-filebeat-ms-sql-module/315351/2 "2022-10-26T12:04:30Z")

</div>

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