Hello
I am using Stack 7.4.0 on Windows 10 trying to parse my MSSQL logs.
When using the filebeat.input as below it works file. Lines are correctly decoded
and multiline is correctly handled.
filebeat.inputs:
- type: log
encoding: utf-16le
enabled: true
paths:
- C:/PathOfMSSQL/MSSQLLOG/ERRORLOG*
exclude_files: [".gz$"]
multiline.pattern: '^\d\d'
multiline.negate: true
multiline.match: after
But when i declare to use the mssql module, encoding is not taken in account and the whole file is considered as the message.
Here is the sample of the mssql module
filebeat.modules:
- module: mssql
enabled: true
log:
encoding: utf-16le
enabled: true
var.paths: ["C:/PathOfMSSQL/MSSQLLOG/ERRORLOG*"]
exclude_files: [".gz$"]
multiline.pattern: '^\d\d'
multiline.negate: true
multiline.match: after
Any Guess ?