Configure Logstash to send MS SQL ErrorLog


(Mustapha Mj) #1

Hi guys

i spend almost a week without result trying to find out how to send ErrorLogs of my MS SQL Server to Elasticsearch via logstash, in another word i want a logstash config file sample


(Mike Barretta) #2

@Mustapha_MJ
An easier option might be to use Filebeat to read the ErrorLogs from disk as a regular log input. From there, you'd have to parse the logs in Logstash (via Logstash output) or Elasticsearch (via a pipeline defined in Elasticsearch and configured in the Filebeat Elasticsearch output) via grok or dissect.

This MSSQLTips page describes how to find the logs on disk.


(system) #3

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