Selecting per minute single log per hour from elasticsearch

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?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.