log4js-elasticsearch
log4js-elasticsearch copied to clipboard
Unable to find a layout named simpleJson
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"
}
]
})