Sending Values from NodeRed to Grafana with SimpleJSON

{}

Seems to work but when I try to connect it as new dashboard on grafana it gives bad way request

Are grafana and node red running in the same machine? is either of them running in a container such as Docker?

Neither of them runs in a docker. Both in same machine. Influx db connects without a problem.

What is the "forward oauth identity" used for ? I dont see that in my grafana. And "skip tls verify" is not needed as it is not https.


it's working with fine as per the shared video in the first Post .
the challenge for me what if I have 3 values and I need to present them on Grafana .
as per the video, simplejson look to what publish without any tag identification .
any idea on this . as per below i am able to read the value in Grafana using Simplejson without any Tag name,
I hope if I can browse tag names and purplish different tags.

What url you use on grafana ?

below is the URL defined in Grafana, lochalhost or IP notworking in my case . Be sure you use /simplejson in httpnode (GET)
http://machinename:1880/simplejson
image

machinename also not working for me....

It will be localhost if running on the same machine. Otherwise the ip address of the Node-RED server (or IP name if you have that set up).

not working. neither localhost or machinename but postman gives result

Check the grafana logs when you try to test the connection, should be somewhere in /var/log/grafana.log

I cannot find it on windows.

A google search led me to https://grafana.com/docs/grafana/latest/installation/troubleshooting/ where it says they are normally in <grafana_install_dir>/data/log

There isnt such file on windows.

The location is configured in the grafana configuration file. On Ubuntu that is /etc/grafana/grafana.ini. Presumably where that is on Windows is documented somewhere as there are other things in there that need setting up for user authentication and so on.

I fixed it !! Thank you !!

have you tried to send multiple values ?

here the output format
"[{"target":"flow","datapoints":[[2,1589929638228]]}]"
we have to work in the function to able to get different targets . and till now i am not able to do it
i hope if someone in community can help
image

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