How to get elasticsearch-transport-couchbase to work with ES5 + X-Pack security

145 Views Asked by At

I'm working on transitioning from ES 1.7 to 5.x and I'm having a problem with the elasticsearch-transport-couchbase plugin. It did work with ES 1.7 with Shield, and the credentials it used were specified in the elasticsearch.yml file:

shield.user: "username:password"

The shield.user parameter is no longer supported in ES 5.x and I can't find anywhere on the documentation how to set this up. Has anyone done a Couchbase XDCR to ES 5.x with X-Pack security? Anyone knows how to set this up?

Thanks, Yosi

2

There are 2 best solutions below

4
On

Support for X-Pack security was added in version 4.0 of the Couchbase Elasticsearch Connector.

Disclaimer: I am a Couchbase employee developing the Elasticsearch connector.

2
On

that parameter moved to xpack.security.user - I have no idea however, if the couchbase plugin is compatible with ES 5.x (you need to have a specific version of the plugin)