haraka / haraka-plugin-elasticsearch

Ship Haraka log info directly to Elasticsearch
https://www.npmjs.com/package/haraka-plugin-elasticsearch
MIT License
5 stars 5 forks source link

Add SMTP protocol log to Elasticsearch logs #6

Closed msimerson closed 1 year ago

msimerson commented 7 years ago

Migrated from haraka/Haraka#1455

It would be useful to include both inbound and outbound SMTP logs in Elasticsearch. This would ideally be something that can be configured in config/log.elasticsearch.ini.

see https://github.com/celesteking/Haraka/blob/master/plugins/log.elasticsearch.js#L53 but I'm not sure if that still works. Essentially, it logs everything, including PROTOCOL log level if you specify that.