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,
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.