pm2-fluentd

Redirect PM2/apps logs to Fluentd

Usage no npm install needed!

<script type="module">
  import pm2Fluentd from 'https://cdn.skypack.dev/pm2-fluentd';
</script>

README

PM2 Fluentd Plugin

To install this plugin

pm2 install bunnyyiu/pm2-fluentd

Configuration

Replace below {{}} with your own variables.

pm2 conf pm2-fluentd:FLUENTD_HOST {{YOUR_FLUENT_HOST}}
pm2 conf pm2-fluentd:FLUENTD_PORT {{YOUR_FLUENT_PORT}}
pm2 conf pm2-fluentd:VM_INSTANCE_ID {{YOUR_INSTANCE_ID}}
pm2 conf pm2-fluentd:VM_PRIVATE_IP {{YOUR_PRIVATE_IP}}

To uninstall this plugin

pm2 uninstall pm2-fluentd