PM2 Logstash Module


stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
111Aug 23, 2018Aug 15, 2018Minified + gzip package size for @easynvest/pm2-logstash in KB



An quick and dirty library to redirect your PM2 logs to a Logstash input stream


Tested on node 8.11.3, requires pm2.

  pm2 install @easynvest/pm2-logstash


This module has multiple configuration variables, all fed into node-logstash-client

  • "logstash_host": The hostname of the logstash input (Default: '')
  • "logstash_port": The port to send logstash messages to (Default: 9997)
  • "logstash_type": The connection type (Default: 'UDP') - udp, tcp, memory

After having installed the module:

  pm2 set @easynvest/pm2-logstash:<param> <value>


  pm2 set @easynvest/pm2-logstash:logstash_host my.cool.host
  pm2 set @easynvest/pm2-logstash:logstash_port 12345

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.