Using node-red to access gateway system logs

Hi,

I am trying to access the gateway system logs from node red so that we can store them.

Do you have any flows available that capture this info?

Hello Dan,

You can view the Node-RED logs on your system by executing the following steps:

  1. SSH into the gateway using your terminal application.
  2. Execute the following command: pm2 logs node-red --lines 500

Please note that we do not currently have a dedicated Node-RED flow designed to capture or parse this specific log information.

Are these the system logs of the gateway or just the node-red logs?

Hi @danempiric these are just the node-red logs, let me check if we can access to system logs from node-red to capture them.

thanks,

I was trying to access but it appears that the syslogs are located behind the ssh login screen and I am having trouble passing the password through the exec node to get the file.