Elasticsearch in Node-RED

Hi everyone,
Can I use Elasticsearch in Node-RED to store data from a function?
I'm tryind to send real time data from Node-RED to my Elasticsearch repository.

Have you tried looking for elasticsearch nodes on flows.nodered.org?

If in doubt - always have a quick look on flows.nodered.org ....
eg
https://flows.nodered.org/?term=elastic&num_pages=1

When I use these libraries, I receive the following error:
"TypeError: Invalid apiVersion "1.3", expected a function or one of _default, 6.2, 6.1, 6.0, 5.6, 5.5, 5.4, 5.3, 5.2, 5.1, 5.0, 2.4, 1.7, 0.90, 6.x, master"
:confused:

That search returns 8 different elasticsearch nodes. Which one(s) have you tried?

I'm using this node:
node-red-contrib-elasticsearch
0.1.4

Should I use another one?

I cannot vouch for any particular node; but there are 7 others that you haven't tried. I'd expect at least one of them to work.

1 Like

Well, now I am getting this error:
"TypeError: Unable to build a path with those params. Supply at least index, type, id"
I am using these nodes:
node-red-contrib-elasticsearch-continued
0.1.0
node-red-contrib-elasticsearch-jd
0.0.6
Someday I will get there haha

A good plan is to look at the code on github and see whether there seems to be any action and whether there are open issues not being addressed. If you can find one that is being maintained then it is more likely to work in my experience.

1 Like

That's true, I will take a look.
I tried to use all the options, but don't have succeed.

Hi, I am using a http node and configure like this:
This is the json inject:


And this is the http node:

It's work for me.