This document includes cluster dependent URL’s. Each URL has a variable part (in Italic). Please match this part with a row entry within the following table. Copy the table row entry located under the column that matches the top level domain of your Coralogix account (.com, .in etc.). Replace the variable part of the URL with this entry.
You must provide the following four variables when creating a Coralogix logger instance.
Company ID – A private key which is used to validate your authenticity, this key will be sent to your mail once you register to Coralogix and should not be transferred outside your company.
Private Key – A unique ID which represents your company, this Id will be sent to your mail once you register to Coralogix.
Application Name – The name of your main application, for example, a company called “SuperData” would probably insert the “SuperData” string parameter or if they want to debug their test environment they might enter the “SuperData– Test”.
SubSystem Name – Your application probably has multiple subsystems, for example, Backend servers, Middleware, Frontend servers, etc. to help you examine the data you need, inserting the subsystem parameter is vital.
If your Coralogix account top level domain is not ‘.com’ add the following environment variable, CORALOGIX_URL=https://api.Cluster URL/api/v1/logs
Import Coralogix’s package and send logs in a stateless fashion.
Note that the privateKey, severity, applicationName, subsystemName and text properties are mandatory.
Nodejs implementation example:
Need help? We love to assist our customers, simply book your implementation session, and we will walk you through, step by step.