Couchbase elastic search documents selection

Hi,

I am using Elastic search plugin to get data from couch-base into elastic search and using KIBANA to query these documents.

I am facing following problems:-
1 I don’t want to see couchbaseCheckpoint documents. How not to sync them to Elastic search. (Any configuration example please). How to delete ones which already synced.
2 It doesn’t show all fields of my document and only gives meta data and Document ID. What I need to do to see complete document and not the Document ID only. (Any configuration example please)

Please share some configuration (elasticsearch.yml) for above points.

Regards
Pankaj Sharma

I think couchbaseCheckpoint is necessary for sync data.[quote=“pankaj.sharma, post:1, topic:12864”]
2 It doesn’t show all fields of my document and only gives meta data and Document ID. What I need to do to see complete document and not the Document ID only. (Any configuration example please)
[/quote]

you should Mapping Couchbase documents to Elasticsearch types
FYI

mapping couchbase_template example:
https://github.com/couchbaselabs/elasticsearch-transport-couchbase/blob/master/src/main/resources/couchbase_template.json

why you don’t use N1QL to query data?

Hi @atom_yang I have done this yesterday Thanks for your help.

It is because the use case is different.

A good news is 4.6.2 have resolved replication error which I was getting earlier.

Regards
Pankaj Sharma