Skip to content

Commit

Permalink
parsers: add rabbitmq neo4j and dns custom parsers (#4324)
Browse files Browse the repository at this point in the history
Signed-off-by: sanjay gunjkar <[email protected]>
  • Loading branch information
atharvagunjkar authored and edsiper committed Nov 17, 2021
1 parent 24e0764 commit b9bb972
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions conf/parser_custom.conf
Original file line number Diff line number Diff line change
@@ -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]*)+)

0 comments on commit b9bb972

Please sign in to comment.