Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-01-14 17:48
Flavor·Golang

`
(\[(?P<datetime>.+)\]\[(?P<thread>[^\]]+)\])?(?P<subsystem>.+?):\s*((?P<level>Fatal|Error|Warning|Log):\s?)?(?P<msg>.+)
`
gm
Open regex in editor

Description

This regex is suitable for anyone ingesting UE_LOG files into Loki and creating dashboards in Grafana.

Submitted by Mike McShaffry