Authorizations
API key authentication
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/events:statistics';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"cxEventLabelsFieldStatistics": [
{
"key": "<string>",
"value": {
"fieldStatistics": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}
],
"cxEventMetadataFieldStatistics": [
{
"key": "<string>",
"value": {
"fieldStatistics": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}
]
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/events:statistics';
let options = {method: 'GET', headers: {Authorization: 'Bearer <API_KEY>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error('error:' + err));
{
"cxEventLabelsFieldStatistics": [
{
"key": "<string>",
"value": {
"fieldStatistics": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}
],
"cxEventMetadataFieldStatistics": [
{
"key": "<string>",
"value": {
"fieldStatistics": [
{
"key": "<string>",
"value": "<string>"
}
]
}
}
]
}
API key authentication
Was this page helpful?