We have having with SQL logs being displayed properly in graylog. Whenever we get logs from SQL server, it shows as like:
B a c k u p V i r t u a l D e v i c e F i l e : : T a k e S n a p s h o t
All text coming from our SQL server looks like this, with the space in between each letter. However, when I copy the text out to say work or notepad++, it copies just fine without the spacing.
BackupVirtualDeviceFile::TakeSnapshot
We are using graylog 5 with sidecar 1.3.0. We are also using filebeats to pull the file. The sql file is ERRORLOG that we are pulling from. Have no other problems pulling from any other flat files.
# Needed for Graylog
fields_under_root: true
fields.collector_node_id: ${sidecar.nodeName}
fields.gl2_source_collector: ${sidecar.nodeId}
output.logstash:
hosts: ["x.x.x.x:yyyy"]
path:
data: ${sidecar.spoolDir!"C:\\Program Files\\Graylog\\sidecar\\cache\\filebeat"}\data
logs: ${sidecar.spoolDir!"C:\\Program Files\\Graylog\\sidecar"}\logs
tags:
- windows
filebeat.inputs:
- type: log
enabled: true
- path to ERRORLOG