Create a new field using Regular Expressions

grok { match => { "message" => "User: (?<user>[^|{1}]+)\s" } }

will add a field called user.

6 Likes