# Filebeat MSSQL ECS

**URL:** <https://discuss.elastic.co/t/filebeat-mssql-ecs/256308>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 23, 2020, 6:52am UTC](https://discuss.elastic.co/t/filebeat-mssql-ecs/256308 "2020-11-23T06:52:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bering](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bering/32/4044_2.png) [@bering](https://discuss.elastic.co/u/bering)\
**Post date:** [November 23, 2020, 6:52am UTC](https://discuss.elastic.co/t/filebeat-mssql-ecs/256308/1 "2020-11-23T06:52:26Z")

</div>

I would like to improve the MSSQL module in filebeats so that that the multiline messages in the SQL log maps into an ECS structure.

The multiline messages that I am looking at always has 'Error:' in the messsage.

What would the recommendation for this be, should I build a multiline filter, or should I build a js script like the ones used in the winlogbeats?

Cheers

---

<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:** [December 21, 2020, 8:52am UTC](https://discuss.elastic.co/t/filebeat-mssql-ecs/256308/2 "2020-12-21T08:52:34Z")

</div>

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