log4js-elasticsearch icon indicating copy to clipboard operation
log4js-elasticsearch copied to clipboard

Unable to find a layout named simpleJson

Open mandeepm91 opened this issue 8 years ago • 0 comments

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"
      }
    },
    { 
      "category": "server_logs", 
      "type": "console"
    }
  ]
})

mandeepm91 avatar Apr 11 '16 14:04 mandeepm91