Authorizations
API key authentication
Query Parameters
This data structure represents a date range.
This data structure represents a filter for scopes.
Response
This data structure is used to return logs count.
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/dataplans/data-usage/v2/logs:count?date_range=SOME_OBJECT_VALUE&resolution=SOME_STRING_VALUE&filters=SOME_OBJECT_VALUE';
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));{
"logsCount": [
{
"logsCount": 100,
"priority": "PRIORITY_UNSPECIFIED",
"severity": "SEVERITY_UNSPECIFIED",
"timestamp": "2023-11-07T05:31:56Z"
}
]
}No description available
const fetch = require('node-fetch');
let url = 'https://api.coralogix.com/mgmt/openapi/dataplans/data-usage/v2/logs:count?date_range=SOME_OBJECT_VALUE&resolution=SOME_STRING_VALUE&filters=SOME_OBJECT_VALUE';
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));{
"logsCount": [
{
"logsCount": 100,
"priority": "PRIORITY_UNSPECIFIED",
"severity": "SEVERITY_UNSPECIFIED",
"timestamp": "2023-11-07T05:31:56Z"
}
]
}API key authentication
This data structure represents a date range.
Show child attributes
This data structure represents a filter for scopes.
Show child attributes
This data structure is used to return logs count.
Show child attributes
Was this page helpful?