cf-nodejs-logging-support
cf-nodejs-logging-support copied to clipboard
Any Idea how to format a custom field for elastic analysis
Hello ,
in our application we will during a trace also write certain numeric statistic like memory usage etc.. All these additional fields are written as custom fields. When we check on the custom field in Kibana the fields are there just as string fields and not as numeric.
Is there a way how to format custom fields as numeric?
At the moment this is due to logging requirements from logstash. We may add the option to disable the parsing in the future. if you want this behaviour, you need to change this parsing rules: https://github.com/SAP/cf-nodejs-logging-support/blob/ef14c07ad7b1272602ec01b0bd026c16357c2914/cf-nodejs-logging-support-core/log-core.js#L167
Hallo Niklas ,
yea thats quite what i need first. Thanks