Merge pull request #1446 from secDre4mer/master

fix: Distinguish Windows and Linux logfiles by path separator
This commit is contained in:
Florian Roth 2021-04-28 13:26:32 +02:00 committed by GitHub
commit 544994dba1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -222,11 +222,13 @@ logsources:
sources:
- "File:/var/log/syslog"
- "File:/var/log/syslog.?"
linux-log:
linux-logfile:
product: linux
sources:
- "File:*.log"
logfiles:
category: logfile
sources:
- "File:*.log"
- "File:/*.log"
windows-logfile:
product: windows
category: logfile
sources:
- "File:?:\\*.log"