loggly / winston-loggly-bulk

A Loggly transport for winston
https://www.loggly.com/docs/node-js-logs/
MIT License
39 stars 30 forks source link

Publish custom columns #63

Closed HaimBendanan closed 3 years ago

HaimBendanan commented 4 years ago

Hey,

I must be missing something. I am trying to upload logs with additional columns, but can't find a way to do it. Could you share an example of how to achieve that?

alestrunda commented 4 years ago

Hello, from the readme: winston.log('info', "Hello World from Node.js!");. But the second argument could be an object, so you can do something like winston.log('info', { col: "data", col2: "data" });.

susilm commented 3 years ago

Closing due to inactivity