I have a csv file, with data like this :
field1;field2;field3,field4_1::field4_2::field4_3;field5;field6
The 4th field is composed of 3 values that I want to divide into 3 different fields in Elasticsearch.
Is there a way to do so?
Thanks.
I have a csv file, with data like this :
field1;field2;field3,field4_1::field4_2::field4_3;field5;field6
The 4th field is composed of 3 values that I want to divide into 3 different fields in Elasticsearch.
Is there a way to do so?
Thanks.
Have a look at the dissect filter to see if it does what you require - Dissect filter plugin | Logstash Reference [7.15] | Elastic
It's good I managed to do it with some Ruby and the split from mutate filter
Have a nice day and thanks for the answer!
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.