To learn more about how to get started working with Winston, check out this guide we put together.
This document includes cluster dependent URLs. Each URL has a variable part (in Italic). Please match this part with a row entry within the following table. Please Replace the “Cluster URL” in the “usage example” with the URL that matches the domain of your Coralogix account (.com, .in etc.).
You must provide the following four variables when creating a Coralogix logger instance.
Application Name – The name of your environment, for example, a company named “SuperData” would probably insert the “SuperData” string parameter or if they want to debug their test environment they might insert the “SuperData– Test”.
SubSystem Name – Your application probably has multiple components, for example: Backend servers, Middleware, Frontend servers etc. in order to help you examine the data you need, inserting the subsystem parameter is vital.
Note: If using TypeScript, set the ‘esModuleInterop’ configuration option to true in your tsconfig.json to allow imports of both CommonJS (os) and ES6 (winston) modules, as both are used in the example code.
Our world-class customer success team is available 24/7 to walk you through your setup and answer any questions that may come up.
Feel free to reach out to us via our in-app chat or by sending us an email at [email protected].