Regular Expressions 101

Library entries

grok

Vote

0

Regular Expression
pcre

/
((?<syslog_pri>(^\<\d*\>))|(^(?<facility>[^\.]*)\.(?<severity>[^\s]*)))?\s*(?:%{SYSLOGTIMESTAMP:timestamp}|%{TIMESTAMP_ISO8601:timestamp}) %{SYSLOGHOST:iporhost}(?<messgae>.*)
/
g

Description

Loading markdown...
Submitted by anonymous - 6 years ago