log4js-elasticsearch
log4js-elasticsearch copied to clipboard
log4js appender for node that targets elasticsearch. Viewable with kibana.
I am considering usage of this package but it looks like this package is not supported at all. Is it true?
I am getting the following error while trying to write the logs to elasticsearch using logstash layout. I reckon the issue is related to the `log4js-elasticsearch-layouts.js` file since the mapping...
Hi, Does this module support SSL for transmitting logs over secured channel? Regards, Sanjeev
Hi, I get an error about reading the log4js config. Here is my setup. What seems to be the problem? ``` const log4js = require('log4js'); const logstashConnectFormatter = require('log4js-elasticsearch').logstashConnectFormatter; module.exports...
I am trying the config below but getting this error. ``` log4js.configure({ "appenders": [ { "host": "127.0.0.1", "port": 9200, "typeName": "nodejs", "category": "server_logs", "type": "log4js-elasticsearch", "layout": { "type": "simpleJson" }...
Mind adding a simpleJson example, and how to use it in addition to using the connect logger? Would like to use both within the same app.
`exit` can't be used to flush the logs, as you can't run async stuff there https://nodejs.org/docs/v4.2.4/api/process.html#process_event_exit `beforeExit` can run async stuff, but might yield false positives (if stuff causes the...