Grok parser on amount of characters

Hi,

I want to grok match on a sting where the first part contains 3 letters. For example:
BUR-TEST-TEST-TEST

I want to check that the first part contains 3 charachters (in this case BUR).
is that possible with grok match?

thx!
br
Sören

Hi,

A pattern like (?<field>[a-zA-Z]{3}) take the three first character if they are letters.

Cad.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.