summaryrefslogtreecommitdiffstats
path: root/fluent-bit/conf/parser_custom.conf
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/conf/parser_custom.conf')
-rw-r--r--fluent-bit/conf/parser_custom.conf15
1 files changed, 15 insertions, 0 deletions
diff --git a/fluent-bit/conf/parser_custom.conf b/fluent-bit/conf/parser_custom.conf
new file mode 100644
index 00000000..51e81985
--- /dev/null
+++ b/fluent-bit/conf/parser_custom.conf
@@ -0,0 +1,15 @@
+ [PARSER]
+ # https://rubular.com/r/6ZCuwV4Xa7nfA3
+ Name rabbitmq
+ Format regex
+ Regex (?<date>[^ ]+)\s(?<time>[^ ]+)\s\[(?<log_level>[^ \]]*)\]\s(?<PID>[^ ]*)\s(?<msg>((([a-zA-Z]*\s+)+[^ ]*)+)+)
+ [PARSER]
+ # https://rubular.com/r/jWfJIOMKr2LgcO
+ Name neo4j
+ Format regex
+ Regex (?<date>[^ ]*) (?<time>[^ ]*) (?<log_level>[^ ]*)\s(?<msg>([^ ]*\s+[^ ]*)+)
+ [PARSER]
+ # https://rubular.com/r/U8VbByp0oRPLU6
+ Name external-dns
+ Format regex
+ Regex ([^ ])\"(?<time>[^ ]+)\"\s([^ ]+)\=(?<log_level>[.+a-zA-Z]+)\s([^ ]+)\"(?<msg>([^ ]*\s+[^ ]*\s[a-zA-Z0-9]*)+)