'Pm2 dashboard does not show application logs

I have a series of apis in node.js running on top of pm2. Now I'm monitoring them with the pm2 dashboard itself. It turns out that when entering the apis through ssh I can view the application logs by running the command: pm2 logs

However I cannot view these logs in pm2 dashboard. It keeps trying to load infinitely. Does anyone know how to enable this option or the correct way to view these logs in this dashboard ??



Solution 1:[1]

Go to app.pm2.io

  • Select your bucket
  • Click on the Connect button on top of the header
  • Paste the pm2 link command in your terminal
  • Still in the terminal pm2 restart all
  • Refresh app.pm2.io in your browser
  • You're all set

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 yemd