# Filter on replication of data from couchbase to Elasticsearch

**URL:** <https://discuss.elastic.co/t/filter-on-replication-of-data-from-couchbase-to-elasticsearch/11484>\
**Category:** Elasticsearch\
**Created:** [April 8, 2013, 8:15am UTC](https://discuss.elastic.co/t/filter-on-replication-of-data-from-couchbase-to-elasticsearch/11484 "2013-04-08T08:15:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Diwakar](https://avatars.discourse-cdn.com/v4/letter/d/ecb155/32.png) [@Deepak\_Diwakar](https://discuss.elastic.co/u/Deepak_Diwakar)\
**Post date:** [April 8, 2013, 8:15am UTC](https://discuss.elastic.co/t/filter-on-replication-of-data-from-couchbase-to-elasticsearch/11484/1 "2013-04-08T08:15:33Z")

</div>

Hi all,

I need help to understand if we can set up a filter on keys of couchbase  
data to replicate into Elasticsearch while setting up a river.

Reason being is- I want only a set of keys to get replicated in  
ElasticSearch not the complete bucket of couchbase.

Currently I am using couchbase 1.8.1 . I believe i have to upgrade it to  
2.0 .

Appreciate your insights and help.

Thanks ,  
Deepak

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 8, 2013, 8:27am UTC](https://discuss.elastic.co/t/filter-on-replication-of-data-from-couchbase-to-elasticsearch/11484/2 "2013-04-08T08:27:31Z")

</div>

I assume you are talking about couch base transport plugin and not about a river, don't you?

I'm afraid that you can't have by now a way to filter it.  
I think you should add an issue here: [GitHub - couchbase/couchbase-elasticsearch-connector: The Official Couchbase Elasticsearch Connector](https://github.com/couchbaselabs/elasticsearch-transport-couchbase/)

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 8 avr. 2013 à 10:15, Deepak Diwakar [deepak.diwakar@mindtickle.com](mailto:deepak.diwakar@mindtickle.com) a écrit :

> Hi all,
> 
> I need help to understand if we can set up a filter on keys of couchbase data to replicate into Elasticsearch while setting up a river.
> 
> Reason being is- I want only a set of keys to get replicated in Elasticsearch not the complete bucket of couchbase.
> 
> Currently I am using couchbase 1.8.1 . I believe i have to upgrade it to 2.0 .
> 
> Appreciate your insights and help.
> 
> Thanks ,  
> Deepak
> 
> --  
> 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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [April 8, 2013, 4:09pm UTC](https://discuss.elastic.co/t/filter-on-replication-of-data-from-couchbase-to-elasticsearch/11484/3 "2013-04-08T16:09:32Z")

</div>

Sounds like we did not answer to the mailing list…  
Posting our last exchange here.

## Cheers

David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 8 avr. 2013 à 18:05, Deepak Diwakar [deepak.diwakar@mindtickle.com](mailto:deepak.diwakar@mindtickle.com) a écrit :

> Great! Thanks again David. This is helpful. I was exploring on the same line.
> 
> Regards,  
> Deepak Diwakar,
> 
> On Mon, Apr 8, 2013 at 6:18 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> I think you can probably build your own _ETL_:  
> Get all documents from couchbase (based on a view for example). See Couchbase API depending on your language  
> For each document, add it to a bulk request: [Elastic — The Search AI Company | Elastic](http://www.elasticsearch.org/guide/reference/api/bulk/)  
> Index the bulk every xxx docs  
> HTH  
> Regards
> 
> --  
> David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> @dadoonet | @elasticsearchfr | @scrutmydocs
> 
> Le 8 avr. 2013 à 11:39, Deepak Diwakar [deepak.diwakar@mindtickle.com](mailto:deepak.diwakar@mindtickle.com) a écrit :
> 
> > Thanks David for the prompt response.
> > 
> > Yes , I was referring to the transport plugin. I see there is a river also in implementation but in experimental mode([GitHub - mschoch/elasticsearch-river-couchbase: An ElasticSearch River for Couchbase](https://github.com/mschoch/elasticsearch-river-couchbase))
> > 
> > Is there any pull approach available to handle the case?
> > 
> > Thanks again.  
> > -Deepak
> > 
> > On Monday, 8 April 2013 13:57:31 UTC+5:30, David Pilato wrote:  
> > I assume you are talking about couch base transport plugin and not about a river, don't you?
> > 
> > I'm afraid that you can't have by now a way to filter it.  
> > I think you should add an issue here: [GitHub - couchbase/couchbase-elasticsearch-connector: The Official Couchbase Elasticsearch Connector](https://github.com/couchbaselabs/elasticsearch-transport-couchbase/)
> > 
> > --  
> > David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> > @dadoonet | @elasticsearchfr | @scrutmydocs
> > 
> > Le 8 avr. 2013 à 10:15, Deepak Diwakar [deepak....@mindtickle.com](mailto:deepak....@mindtickle.com) a écrit :
> > 
> > > Hi all,
> > > 
> > > I need help to understand if we can set up a filter on keys of couchbase data to replicate into Elasticsearch while setting up a river.
> > > 
> > > Reason being is- I want only a set of keys to get replicated in Elasticsearch not the complete bucket of couchbase.
> > > 
> > > Currently I am using couchbase 1.8.1 . I believe i have to upgrade it to 2.0 .
> > > 
> > > Appreciate your insights and help.
> > > 
> > > Thanks ,  
> > > Deepak
> > > 
> > > --  
> > > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).
> > > 
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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 [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:42am UTC](https://discuss.elastic.co/t/filter-on-replication-of-data-from-couchbase-to-elasticsearch/11484/4 "2017-07-06T02:42:14Z")

</div>


