S3 output event per file

Hi,

I'm using the S3 output plugin and I noticed that I'm receiving files that include multiple events per file.
How can I create a file for each event?
I saw the option to limit the file size but I'm not sure it is good enough.

Thank you.

I did some testing, it seems like it aggregates events that were sent to the logstash at the same second. However, I need it to create a new S3 file for each event, even if there were several events at the same second.