Last active
September 23, 2020 13:14
-
-
Save adnanrahic/eabc86d22670f3c217e53acf4ea5bc17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
patterns: | |
- # Flink jobmanager and taskmanager | |
sourceName: !!js/regexp /flink/ | |
blockStart: !!js/regexp /^\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3}\s/ | |
match: | |
- type: flink[job|task]manager | |
regex: !!js/regexp /^(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2},\d{3})\s(INFO|info|WARN|ERROR|FATAL)\s+([\S]+)\s+-\s([\S|\s|\n]+)/ | |
fields: [ts, severity, processid, message] | |
inputFilter: !!js/regexp /WARN|ERROR|FATAL/ | |
dateFormat: YYYY-MM-DD HH:mm:ss:l | |
- # Flink jobmanager and taskmanager | |
sourceName: !!js/regexp /flink/ | |
blockStart: !!js/regexp /^\w{3}\s[\d|,|\s|\:]+/ | |
match: | |
- type: flink[job|task]manager | |
regex: !!js/regexp /^(\w{3}\s[\d|,|\s|\:]+\w{3}\s[\d|,|\s|\:]+[AP]M)\s([\S|\s]+)\s(INFO|WARN|ERROR|SEVERE|FATAL):\s([\S|\s|\n]+)/ | |
fields: [ts, processid, severity, message] | |
dateFormat: MMM dd, yyyy H:mm:ss |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment