ecs-logging-nodejs icon indicating copy to clipboard operation
ecs-logging-nodejs copied to clipboard

Node.js formatters for Elastic Common Schema (ECS) logging

Results 40 ecs-logging-nodejs issues
Sort by recently updated
recently updated
newest added

Hi, I am using NestJS with [nestjs-pino](https://github.com/iamolegga/nestjs-pino) and I am trying to set up `ecsFormat({ convertReqRes: true })`. Logging of request and response works, but format is odd. If this...

agent-nodejs

Hi, Is there a way to not output request Authorization header parameters (ex: the value of the Authorization Basic parameter) in log depending on the log level ? Regards

agent-nodejs
triage
community

It appears that `@elastic/ecs-pino-format` does not work with pino 7+

agent-nodejs
triage
community

Before this change and without esModuleInterop: true one could only import the module via ```js import escFormat = require('@elastic/ecs-pino-format'); ``` After this it can also be imported with: (which is...

agent-nodejs

[loggers/winston/index.js](https://github.com/elastic/ecs-logging-nodejs/blob/master/loggers/winston/index.js) file use `triple-beam` dependency that's not included in `package.json` dependencies: ```js ... const { MESSAGE } = require('triple-beam') ... ``` ## Steps to reproduce 1. `yarn init -y` 2....

agent-nodejs
triage
community

The [winston](https://github.com/winstonjs/winston) package [updated it's stringification tool to `fast-safe-stringify`](https://github.com/winstonjs/logform/pull/35) a while back at Jun 11, 2018. I introduced here: #57. In it's PR I raised a this as a separate...

agent-nodejs

Hi, I'm trying to log the response headers, but an exception is raised by ecs formatter. This is my code: ```javascript const winston = require('winston'); const express = require('express'); const...

agent-nodejs
8.1-candidate

I'm currently using `{ convertReqRes: true }` to fill out the ECS fields. Lovely addition, thanks for it! But, I do have one problem. I've got some headers that shouldn't...

enhancement
lib:winston
agent-nodejs
8.1-candidate

Implement https://github.com/elastic/ecs-logging/pull/63 for the nodejs ecs-logging libs.

agent-nodejs

See https://github.com/elastic/ecs-logging/pull/61 which added service.node.name to the spec.

agent-nodejs