Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^=((?<component>[^ ]*(SUPERVISOR))|(?<severity>[^ ]*(INFO))).*\s+(?<time>[^ =]*)\s+[=]*\n(?<message>(?s)^(.*?)(?:(?:\r*\n){2}))
/
gxm
Input 1
=SUPERVISOR REPORT==== 5-Jul-2017::14:10:58 === Supervisor: {<0.15737.0>,amqp_channel_sup_sup} Context: shutdown_errorhttps://regex101.com/r/QpRINz/1/tests Reason: shutdown Offender: [{nb_children,1}, {name,channel_sup}, {mfargs, {amqp_channel_sup,start_link, [direct,<0.15736.0>, <<"<rabbit@rabbitmq-default-Control.3.15736.0>">>]}}, {restart_type,temporary}, {shutdown,brutal_kill}, {child_type,supervisor}] =INFO REPORT==== 24-Jul-2017::08:44:03 === Starting RabbitMQ 3.4.4 on Erlang 17.5.6 Copyright (C) 2007-2014 GoPivotal, Inc. Licensed under the MPL. See http://www.rabbitmq.com/ =INFO REPORT==== 24-Jul-2017::08:44:03 === node : rabbit@rabbitmq-default-Control home dir : /var/lib/rabbitmq config file(s) : /etc/rabbitmq/rabbitmq.config cookie hash : jlzhQcHOuBZ03iv7GFo/pQ==