Authorizations
API key authentication
Query Parameters
Filter configuration for counting filter options
Response
Response containing counts for different filter options
Counts for different filter options
curl --request GET \
--url https://api.coralogix.com/mgmt/openapi/latest/alerts/alerts-general/v3/filter-option-counts \
--header 'Authorization: <api-key>'{
"counts": {
"enabledCounts": [
{
"count": 25,
"enabled": true
}
],
"entityLabelCounts": [
{
"count": 28,
"labelKey": "environment",
"labelValue": "production"
}
],
"priorityCounts": [
{
"count": 15,
"priority": "ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED"
}
],
"statusCounts": [
{
"count": 15,
"status": "ALERT_DEF_STATUS_UNSPECIFIED"
}
],
"typeCounts": [
{
"count": 42,
"type": "ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED"
}
]
}
}Returns counts for different filter options based on the provided filters
Requires the following permissions:
alerts:ReadConfigcurl --request GET \
--url https://api.coralogix.com/mgmt/openapi/latest/alerts/alerts-general/v3/filter-option-counts \
--header 'Authorization: <api-key>'{
"counts": {
"enabledCounts": [
{
"count": 25,
"enabled": true
}
],
"entityLabelCounts": [
{
"count": 28,
"labelKey": "environment",
"labelValue": "production"
}
],
"priorityCounts": [
{
"count": 15,
"priority": "ALERT_DEF_PRIORITY_P5_OR_UNSPECIFIED"
}
],
"statusCounts": [
{
"count": 15,
"status": "ALERT_DEF_STATUS_UNSPECIFIED"
}
],
"typeCounts": [
{
"count": 42,
"type": "ALERT_DEF_TYPE_LOGS_IMMEDIATE_OR_UNSPECIFIED"
}
]
}
}API key authentication
Filter configuration for counting filter options
Show child attributes
Response containing counts for different filter options
Counts for different filter options
Show child attributes
Was this page helpful?