Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pm2-elastic

danilaplee6MIT0.2.5

pm2 elasticsearch integration

readme

Description

PM2 module to send logs to elasticsearch

$ npm install pm2 -g

$ pm2 install pm2-elasticlogs

To modify the config values you can use the following commands:

pm2 set pm2-elasticlogs:elasticsearch_host 'http://localhost:9200'
pm2 set pm2-elasticlogs:elasticsearch_index logs
pm2 set pm2-elasticlogs:app_name all

Uninstall

$ pm2 uninstall pm2-elasticlogs

License

MIT