Combining multiple events

We are using the http output plugin to store logs into a database. We would like to batch multiple changes from a file into 1 JSON request like so:

{
    docs: [
        {
            "event": "event"1
        },
        {
            "event": "event"
        }
   ]
}

I've searched the forum and I found that the aggregate filter would be useful for this, but I'm not sure how to use it for my use case.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.