Created
December 16, 2024 12:42
-
-
Save Typiqally/799942d76b9fb1993e26370099487441 to your computer and use it in GitHub Desktop.
A Regex for the default Loguru logs, can be used in services such as Promtail
This file contains hidden or 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
(?P<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}\.\d{3})\s*\|\s*(?P<level>\w+)\s*\|\s*(?P<service>[\w\.]+):\w+:\d+ - .* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment