3

I am a newbie to node-red and working on some of the node red flows which involves connecting and processing data from MQTT, MongoDB etc. Is there any reporting page that displays information about flow executions and their related logs?

user8363477
  • 655
  • 4
  • 14
  • 24

1 Answers1

1

Not really.

The best you could possibly do is ensure that all debug nodes are set to write to the the console as well as the sidebar, then tail the Node-RED log.

Nodes should log errors (such as MQTT/MongoDB disconnect/reconnect) to the log as well or you can use the status node and wire that to a debug node in order to capture the state changes that way as well. (Note as thrashed out in the comments, status nodes messages do not have payload key, so make sure you set the debug node properly)

hardillb
  • 54,545
  • 11
  • 67
  • 105
  • I have used the status nodes followed by debug node which shows the status as undefined in case of any settings change for MQTT subscriber – user8363477 Jan 29 '18 at 16:08
  • Have you set the debug node to show the whole message not just `msg.payload`? – hardillb Jan 29 '18 at 18:31
  • It was msg.payload. I have not used whole message object – user8363477 Jan 30 '18 at 13:04
  • Please note the comment in the info bar for the status node > "This node does not produce a payload.". Change the debug node to show the whole message and you will see the output – hardillb Jan 30 '18 at 14:08