Community Patterns

Community Library Entry

1

Regular Expression
Created·2022-03-02 09:37
Flavor·PCRE2 (PHP)

/
(?<timestamp>\d{4}\/\d{2}\/\d{2} \d{2}:\d{2}:\d{2}) \[(?<level>.*)\]\ (?<process_id>\d*)#(?<thread_id>\d*): (?<message>.*)
/
gm
Open regex in editor

Description

Parse nginx error logs with tags

Submitted by anonymous