Elasticsearch in Node-RED

#1

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.

0 Likes

#2

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

0 Likes

#3

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

0 Likes

#4

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:

0 Likes

#5

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

0 Likes

#6

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

Should I use another one?

0 Likes

#7

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

#8

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

0 Likes

#9

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

#10

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

0 Likes