# Can I monitor SQL server ERRORLOG in ES without using Logstash?

**URL:** <https://discuss.elastic.co/t/can-i-monitor-sql-server-errorlog-in-es-without-using-logstash/100060>\
**Category:** Elasticsearch\
**Created:** [September 11, 2017, 1:17pm UTC](https://discuss.elastic.co/t/can-i-monitor-sql-server-errorlog-in-es-without-using-logstash/100060 "2017-09-11T13:17:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkpotdar](https://avatars.discourse-cdn.com/v4/letter/r/f0a364/32.png) [@rkpotdar](https://discuss.elastic.co/u/rkpotdar)\
**Post date:** [September 11, 2017, 1:17pm UTC](https://discuss.elastic.co/t/can-i-monitor-sql-server-errorlog-in-es-without-using-logstash/100060/1 "2017-09-11T13:17:27Z")

</div>

In my setup, the SQL server resides on a Windows machine and it generates ERRORLOG which records for any errors occurring in SQL server. I'd like these logs to be pushed on to an Ubuntu machine (where I currently run ES and Kibana).  
My question being, can I directly consume the ERRORLOG file into ES for monitoring or should I be using Logstash (with grok filter) to read out the ERRORLOG?

The pattern is something like TIMESTAMP\<1SPACE\>USER\<4SPACES\>MESSAGE.  
Also to note that message is multiline in a few cases.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 12, 2017, 3:04am UTC](https://discuss.elastic.co/t/can-i-monitor-sql-server-errorlog-in-es-without-using-logstash/100060/2 "2017-09-12T03:04:30Z")

</div>

You will likely need Logstash if you want to structure your logs.

---

<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 10, 2017, 3:04am UTC](https://discuss.elastic.co/t/can-i-monitor-sql-server-errorlog-in-es-without-using-logstash/100060/3 "2017-10-10T03:04:34Z")

</div>

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