I am using Elasticsearch to store per seconds logs. I want to keep a backup of these logs for long duration so I want to create other index to store 1 log per minute.
So can anyone please help me how to get per minute logs per hour from Elasticsearch and dump that into new index?