# Transfer subset of documents to a different cluster

**URL:** https://discuss.elastic.co/t/transfer-subset-of-documents-to-a-different-cluster/110977
**Category:** Elasticsearch
**Created:** [December 10, 2017, 4:24pm UTC](https://discuss.elastic.co/t/transfer-subset-of-documents-to-a-different-cluster/110977 "2017-12-10T16:24:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bw2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bw2/32/25266_2.png) [@bw2](https://discuss.elastic.co/u/bw2)
#### Post date: [December 10, 2017, 4:24pm UTC](https://discuss.elastic.co/t/transfer-subset-of-documents-to-a-different-cluster/110977/1 "2017-12-10T16:24:42Z")

</div>

Are there API calls or a tool that I could use to transfer 1% of documents from an index in a production cluster to a test cluster?  
Hopefully there's some trick using snapshot/restore that I'm not seeing.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [December 10, 2017, 4:27pm UTC](https://discuss.elastic.co/t/transfer-subset-of-documents-to-a-different-cluster/110977/2 "2017-12-10T16:27:14Z")

</div>

Snapshot and restore works on full indices, but you may be able to use [reindex from remote](https://www.elastic.co/guide/en/elasticsearch/reference/6.0/docs-reindex.html#reindex-from-remote).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 7, 2018, 4:27pm UTC](https://discuss.elastic.co/t/transfer-subset-of-documents-to-a-different-cluster/110977/3 "2018-01-07T16:27:16Z")

</div>

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