Group timestamp(?<timestamp>^.*?) ^start of line
.*?any character (except for line terminators), repeated any number of times
\sany whitespace character
Group apic_host(?<apic_host>.*?) .*?any character (except for line terminators), repeated any number of times
\sany whitespace character
%LOG_LOCALthe literal text %LOG_LOCAL (case sensitive) Group apic_facility_level(?<apic_facility_level>\d) -the literal - (4510 / 558 / 2D16)
Group apic_severity(?<apic_severity>\d) -SYSTEM_MSGthe literal text -SYSTEM_MSG (case sensitive) \sany whitespace character
\[the literal [ (9110 / 1338 / 5B16)
Group apic_code(?<apic_code>.*?) .*?any character (except for line terminators), repeated any number of times
\]the literal ] (9310 / 1358 / 5D16)
\[the literal [ (9110 / 1338 / 5B16)
Group apic_lifecycle_state(?<apic_lifecycle_state>.*?) .*?any character (except for line terminators), repeated any number of times
\]the literal ] (9310 / 1358 / 5D16)
\[the literal [ (9110 / 1338 / 5B16)
Group apic_rule(?<apic_rule>.*?) .*?any character (except for line terminators), repeated any number of times
\]the literal ] (9310 / 1358 / 5D16)
\[the literal [ (9110 / 1338 / 5B16)
Group apic_severity_text(?<apic_severity_text>.*?) .*?any character (except for line terminators), repeated any number of times
\]the literal ] (9310 / 1358 / 5D16)
\[the literal [ (9110 / 1338 / 5B16)
Group apic_DN_of_affected_MO(?<apic_DN_of_affected_MO>.*?) .*?any character (except for line terminators), repeated any number of times
\]the literal ] (9310 / 1358 / 5D16)
\sany whitespace character
Group apic_message(?<apic_message>.*) .*any character (except for line terminators), repeated any number of times
$end of line
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string