In the s3 input plugin documentation , it says that it should be possible to backup to a different "folder" within the same bucket. This doesn't seem to work however. Any ideas?
My input config:
input {
s3 {
bucket => "some_bucket"
region => "us-east-1"
prefix => "stage/data/2016/12/15"
sincedb_path => "/tmp/s3-sincedb"
type => "s3"
backup_add_prefix => "backup/"
interval => 120
delete => true
}
}
This deletes the objects that match the prefix, but doesn't backup.
(I did try using this backup prefix along with backing up to a different bucket, the "backup_to_bucket" option, but ran into other issues there.)