Regular Expressions 101

Library entries

GROK to split log file name by dots

Vote

0

Regular Expression
pcre2

/
(?<environment>\w+)\.(?<company>[a-zA-Z-_]+)\.(?<logtype>[a-zA-Z-_]+)
/
gm

Description

Loading markdown...
Submitted by SeparateReality - 9 months ago