Logstash output would not work for me without s3:deleteObject permission although as I understand, only the s3:putObject permission is required for the plugin to work properly. Without the s3:deleteObject an xml file appeared in my s3 bucket, named logstash-programmatic-access-test-object with the date also in the title. It contained the following:
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>9780FA73485EE2D4</RequestId>
<HostId>
DV6x0Dj2ucz/Ziv1uHeW413J/za9fMgtaEOi5MKIy17777Dey4M4OcXK+x0jUCc0w2yu3axm5WA=
</HostId>
</Error>
Could this possibly be a bug in the plugin? Or have I misunderstood something? Thanks!