this is the output of my pipeline that process a file. I've succesfully extract the lines i want from the file, each file per day and n number of lines each day and split the lines into and array.
{
"host" => "",
"field1" => [
[0] " 1/17/0 AA 3 MAR 20 SAB R-XXX 3801.00 EU",
[1] " 1/17/0 BB 2 JAN 20 TER GCX 12.6000 US",
],
"@timestamp" => 2020-01-23T20:36:42.037Z
}
What i need is create a document of each array element like this
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.