Regular Expressions 101

Community Patterns

Syslogs

0

Regular Expression
PCRE (PHP <7.3)

/
.{4}(\w+ \d+ \d+:\d+:\d+) ([\w\d-]+) (?:\[([\w\d-]+)\]|)\[([\w\d]+)\]\[(\w+)\]\[(\w+)\] (?:([\w\s-]+)\(([\w\s-]+)\): |)(?:trans\((\d+)\)|)(?:\[([\w]+)\]|)(?:\[(\d+\.\d+\.\d+\.\d+)\]|)(?: gtid\((\d+)\)|): (.*)
/
g

Description

no description available

Submitted by anonymous - 6 years ago