No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets';
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));
{
"sets": [
{
"id": "<string>",
"groups": [
{
"name": "<string>",
"interval": 123,
"limit": "<string>",
"rules": [
{
"record": "<string>",
"expr": "<string>",
"labels": {},
"lastEvalDurationMs": "<string>"
}
],
"lastEvalAt": "<string>",
"version": 123,
"id": "<string>"
}
],
"name": "<string>"
}
]
}
API key authentication
A successful response.
A listing of rule group sets.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets';
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));
{
"sets": [
{
"id": "<string>",
"groups": [
{
"name": "<string>",
"interval": 123,
"limit": "<string>",
"rules": [
{
"record": "<string>",
"expr": "<string>",
"labels": {},
"lastEvalDurationMs": "<string>"
}
],
"lastEvalAt": "<string>",
"version": 123,
"id": "<string>"
}
],
"name": "<string>"
}
]
}
No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets';
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));
{
"sets": [
{
"id": "<string>",
"groups": [
{
"name": "<string>",
"interval": 123,
"limit": "<string>",
"rules": [
{
"record": "<string>",
"expr": "<string>",
"labels": {},
"lastEvalDurationMs": "<string>"
}
],
"lastEvalAt": "<string>",
"version": 123,
"id": "<string>"
}
],
"name": "<string>"
}
]
}
API key authentication
A successful response.
A listing of rule group sets.
Was this page helpful?
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/v1/rule-group-sets';
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));
{
"sets": [
{
"id": "<string>",
"groups": [
{
"name": "<string>",
"interval": 123,
"limit": "<string>",
"rules": [
{
"record": "<string>",
"expr": "<string>",
"labels": {},
"lastEvalDurationMs": "<string>"
}
],
"lastEvalAt": "<string>",
"version": 123,
"id": "<string>"
}
],
"name": "<string>"
}
]
}