Hello,
Can you help me please?
I need to parse this field in logstash filter :
word1_word2_word3_word4
And I want to put word3 into a new field named my_field.
How to do this please?
I try with grok and regular expression.
Thanks
Hello,
Can you help me please?
I need to parse this field in logstash filter :
word1_word2_word3_word4
And I want to put word3 into a new field named my_field.
How to do this please?
I try with grok and regular expression.
Thanks
Hello Regis,
Can you post us which grok you have tried? Maybe we can help you with finding the error.
Best regards
Wolfram
I found a solution with this :
([0-9a-zA-Z])(_)([0-9a-zA-Z])(_)(?<my_field>[0-9a-zA-Z]*)
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.