I am using the below config, problem with the config is , the events are written in the s3 file, without any line separator. making it hard to read and replay later if required.
s3 {
access_key_id => "xxx"
secret_access_key => "yyy"
region => "us-east-1"
bucket => "logs.hello.com"
size_file => 10240
time_file => 5
codec => "plain"
prefix => "raw-logs-backup/%{[fields][client]}/%{+YYYY}/%{+MM}/%{+dd}"
}