IMPORTANT: elasticsearch.js has been replaced by the new Elasticsearch JavaScript client. We strongly advise you to migrate to the new client. To learn more, see the migration guide.
superagent-elasticsearch
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
superagent-elasticsearch
editThis Connection
class allows you to send all requests from an elasticsearch.js Client
instance with superagent. superagent
has support for all sorts of authentication strategies (eg. kerberos, in-house CAs, etc.), but also supports a beforeEachRequest
hook powers all kinds of per-request tweaking.
superagent-elasticsearch is available on npm.