Project_Num, Task Name,Task_num,Task Date
PRJ-001,Task Name1,111,1-Jan-2020
PRJ-001,Task Name2,112,2-Jan-2020
How should i map it with my json payload like below in http output
Basically, i need my data in below format to form a payload
There can be a cases where i can have 3 records from same Project
or 4 Records from same project as i need to form a array in json output for payload
So the mapping should be dynamic
Need to group it dynamically to form a one json record
Mhmh I don't think you can achieve something like this with Logstash. The aggregate filter is what best fits the case but, as you said, if events are not ordered (as often happens) the result is not granted (which is why I rarely use it).
I think your best shot is to organize an entity-centric index using Elasticsearch transformations, but this is not the section where to discuss such stuff.
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.