Thanks much, Alexander; I'll have a look. On Monday, April 21, 2014 8:23:17 AM UTC-4, Alexander Reelsen wrote: > > Hey, > > you could use a scroll request for this task with a specific query. See > http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-scroll.html#search-request-scroll > > As this simply returns JSON, you could use another script to import it > into another elasticearch environment. If you need some sort of backup > functionality, the snapshot/restore API might be interesting as well, see > http://www.elasticsearch.org/blog/introducing-snapshot-restore/ > > > --Alex > > > On Sat, Apr 12, 2014 at 7:18 PM, nyaqua <[email protected] > <javascript:>>wrote: > >> Greetings all, >> >> I'm a novice elasticsearch user (I've recently begun monitoring a cluster >> with logstash, elasticsearch and kibana. I'd like to be able, via cron, to >> dump the last 15 minutes of logging data received to an external filesystem >> (which will be pruned to only keep the last week or so of dumps). I'd then >> like to import these files into a clean ES environment and, thereby, have >> essentially the last week from the original ES environment. Is this >> possible? >> >> Thanks much, >> NA >> >> -- >> You received this message because you are subscribed to the Google Groups >> "elasticsearch" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/9a4e9f43-9d4f-491a-8748-452e0305167a%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/9a4e9f43-9d4f-491a-8748-452e0305167a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > >
-- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/acaf5be9-4180-48e4-852c-335d79b9f7a6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
