Authorizations
API key authentication
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/alert-event-stats';
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));
{
"eventsStats": [
{
"key": "<string>",
"value": {
"activityAnalysisStats": {
"isMutedCount": 123,
"rules": [
"<string>"
]
},
"count": 123,
"resolvedCount": 123,
"resolvedPermutationsSamples": [
{
"permutationLabels": [
{
"key": "<string>",
"value": "<string>"
}
]
}
],
"triggeredCount": 123,
"triggeredPermutationsSamples": [
{
"permutationLabels": [
{
"key": "<string>",
"value": "<string>"
}
]
}
]
}
}
]
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v3/alert-event-stats';
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));
{
"eventsStats": [
{
"key": "<string>",
"value": {
"activityAnalysisStats": {
"isMutedCount": 123,
"rules": [
"<string>"
]
},
"count": 123,
"resolvedCount": 123,
"resolvedPermutationsSamples": [
{
"permutationLabels": [
{
"key": "<string>",
"value": "<string>"
}
]
}
],
"triggeredCount": 123,
"triggeredPermutationsSamples": [
{
"permutationLabels": [
{
"key": "<string>",
"value": "<string>"
}
]
}
]
}
}
]
}
API key authentication
Show child attributes
Was this page helpful?