You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 being used seems no longer supported in the latest version of elasticsearch. However, even when I tried to remove the part "path": "full" from the file, I am still getting the error in elasticsearch
The library is not working with Elastic Search 5.x TypeError: Cannot read property 'messagePassThroughLayout' of undefined at Object.<anonymous> (c:\dev\temp\test_log4js_es\node_modules\log4js-elasticsearch\lib\log4js-elasticsearch-layouts.js:8:39)
@hmalphettes - can you please fix the the library to support the latest versions of ES?
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 being used seems no longer supported in the latest version of elasticsearch. However, even when I tried to remove the part"path": "full"
from the file, I am still getting the error in elasticsearchThe text was updated successfully, but these errors were encountered: