Skip to main content
Get Logs Count
curl --request GET \
  --url https://api.coralogix.com/mgmt/openapi/latest/dataplans/data-usage/v2/logs:count \
  --header 'Authorization: <api-key>'
{
  "logsCount": [
    {
      "logsCount": 100,
      "priority": "PRIORITY_UNSPECIFIED",
      "severity": "SEVERITY_UNSPECIFIED",
      "timestamp": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

date_range
object

This data structure represents a date range.

resolution
string
filters
object

This data structure represents a filter for scopes.

Response

This data structure is used to return logs count.

logsCount
Logs Count · object[]