Closed glaci-zz closed 8 years ago
Hello author,
i've been encounter the problem with using fluentd grepcounter plugin
the default mail content type is text/plain so the grepcounter delimeter parameter won't work
it shows like:
count: 4 message: [com.app.productmanagement.server.businessObject.ProductManagementBO] add product failed\n[com.app.productmanagement.server.businessObject.ProductManagementBO] add product failed\n[com.app.productmanagement.server.businessObject.ProductManagementBO] add product failed
the delimeter: \n will not work and display as pure text. May you consider to add the option to setup mail content-type to text/html ?
Supporting content_type option sounds reasonable. PR is welcome!
content_type
Hello author,
i've been encounter the problem with using fluentd grepcounter plugin
the default mail content type is text/plain so the grepcounter delimeter parameter won't work
it shows like:
count: 4 message: [com.app.productmanagement.server.businessObject.ProductManagementBO] add product failed\n[com.app.productmanagement.server.businessObject.ProductManagementBO] add product failed\n[com.app.productmanagement.server.businessObject.ProductManagementBO] add product failed
the delimeter: \n will not work and display as pure text. May you consider to add the option to setup mail content-type to text/html ?