Hello @hobbyquaker Thank you for your module it's really help me.
The code need to update because after ElasticSearch version 7.x they remove mapping types.
So for pm2-elasticsearch-logger can work normally we need to
- Make mapping type to "_doc" because cannot support custom mapping type
- Update function createMapping because cannot create mapping for custom mapping type.
Thank you.