# Elasticsearch node

**URL:** <https://discourse.nodered.org/t/elasticsearch-node/67662>\
**Category:** General\
**Tags:** http-request, function-node\
**Created:** [13 September 2022 17:17 UTC](https://discourse.nodered.org/t/elasticsearch-node/67662 "2022-09-13T17:17:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![juancavila](https://avatars.discourse-cdn.com/v4/letter/j/ad7895/32.png) [@juancavila](https://discourse.nodered.org/u/juancavila)\
**Post date:** [13 September 2022 17:17 UTC](https://discourse.nodered.org/t/elasticsearch-node/67662/1 "2022-09-13T17:17:57Z")

</div>

Hello, could you help me?  
I want to send data to Elasticsearch Cloud, but the only node I was able to connect to is "node-red-contrib-elastic" ([node-red-contrib-elastic (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-elastic)) because it uses server ID (cluster), username and password, however the data in JSON format does not leave the "inject" node. If I modify inject to output msg.body and msg.payload, it emits an error "Error: Invalid body in settings". What am I doing wrong.

 ![1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/a/9ac48da38f14302073075096f2ea3ff615768bcd.jpeg)  
 ![2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bb8055cab20a1afad58e0bc468a37856ff55f34d.jpeg)

Does not connect to the cluster: If I use nodes from "node-red-contrib-elasticsearch-jd" ([node-red-contrib-elasticsearch-jd (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-elasticsearch-jd) ), how do I connect to the cluster if I don't have ID, user and password option?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 November 2022 17:18 UTC](https://discourse.nodered.org/t/elasticsearch-node/67662/2 "2022-11-12T17:18:03Z")

</div>

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