Allow colon in syslog loghost

Makes it work with IPv6 addresses.
This commit is contained in:
Ville Skyttä committed 2021-08-11 21:36:43 +03:00
1 parent f508ddf66d
commit 2d92a4dbb3
3 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ contexts:
- match: ^
push: text
loghost:
- match: '[\w.-]+'
- match: '[\w:.-]+'
scope: entity.other.attribute-name.loghost.syslog
set: process
process: