How to Move the logs from Elasticsearch to Amazon time on weekly basis


(Sadiesh) #1

I have to move my week older logs from Elasticsearch to s3 bucket . Please let me know how to do this ?


(Christian Dahlqvist) #2

You can use the snapshot and restore mechanism to store old indices into S3 before you delete them from the cluster. This requires the S3 repository plugin to be installed.


(Sadiesh) #3

Thanks Christian. curator is available to automate restore mechanism from s3. Do we have any query basis trigger also available for the same ?


(Christian Dahlqvist) #4

You can probably use Curator to automate this e.g. from a cron job.