Update graylog-log4j.yaml

patch-1
Dhiyaneshwaran 2022-10-20 02:59:52 +05:30 committed by GitHub
parent 647dd9addb
commit 8a8cc79de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -45,6 +45,11 @@ requests:
regex:
- '([a-zA-Z0-9.-]+).([a-z0-9]+).([a-z0-9]+).\w+' # Match for extracted ${sys:os.name} variable
- type: word
part: header
words:
- 'X-Graylog-Node-Id:'
extractors:
- type: kval
kval:
@ -55,5 +60,3 @@ requests:
group: 1
regex:
- '([a-zA-Z0-9\.\-]+)\.([a-z0-9]+)\.([a-z0-9]+)\.\w+' # Print extracted ${sys:os.name} in output
# Enhanced by md on 2022/10/04