I've done a few days of searching but can't find what I'm looking for....the closest I've found is this topic (How to aggregate multiple events into single output)
I'll state that I'm starting with a functional pipeline. My pipeline performs with an input from JDBC, issuing a query, it does several filters to ensure what I need is working, then it does an http output to put the data into the place where I want it....what I'm trying to do is 'optimize' the output. My http can accept either a single event, or multiple events in a single call. What I would like to be able to do is collect all of my inputs (anywhere from 1 to n), process them via filter into a single output, and make a call to my http service once. This would cut down on the number of network calls my pipeline had and greatly increase my throughput. I've come across the aggregate filter, and on the surface it seems like something close to what I'm looking for, but I'm not wanting to take the duration from 3 separate events and sum those together...I want to take ALL of 3 events, append them all to a single hash, then take that hash and make a single output call.
If aggregate filter is the right filter to use, I can't seem to get the syntax proper to grab all of a single event and add it to something else...and another problem that I seem to have with aggregate is that it needs a task_id....other than the fact that all of these events came from the source, and are going to the same destination, they don't really have anything in common...I just want to reduce my output count to 1....Any/all assistance is appreciated.