Download OpenAPI specification:Download
This data structure is used to create an API key.
name required | string |
required | object (v3Owner) |
required | object (Key Permissions) This data structure allows to specify loose permissions and permission presets for an API key. |
hashed required | boolean |
{- "name": "my_api_key",
- "owner": {
- "userId": "string",
- "teamId": 0,
- "organisationId": "string"
}, - "keyPermissions": {
- "presets": [
- "my_preset"
], - "permissions": [
- "read_logs"
]
}, - "hashed": true
}
{- "keyId": "my_key_id",
- "name": "my_api_key",
- "value": "my_api_key_value"
}
{- "keys": [
- {
- "name": "my_api_key",
- "owner": {
- "userId": "string",
- "teamId": 0,
- "organisationId": "string"
}, - "active": true,
- "hashed": true,
- "keyPermissions": {
- "presets": [
- {
- "name": "my_preset",
- "permissions": [
- "read_logs"
]
}
], - "permissions": [
- "string"
]
}, - "value": "string",
- "id": "string"
}
]
}
{- "keyInfo": {
- "name": "my_api_key",
- "owner": {
- "userId": "string",
- "teamId": 0,
- "organisationId": "string"
}, - "active": true,
- "hashed": true,
- "keyPermissions": {
- "presets": [
- {
- "name": "my_preset",
- "permissions": [
- "read_logs"
]
}
], - "permissions": [
- "string"
]
}, - "value": "string",
- "id": "string"
}
}
keyId required | string |
newName | string |
isActive | boolean |
object (Presets) This data structure represents a set of permissions presets on an API key. | |
object (Permissions) This data structure represents a set of permissions on an API key. |
{- "newName": "my_new_name",
- "isActive": true,
- "presets": {
- "presets": [
- "string"
]
}, - "permissions": {
- "permissions": [
- "string"
]
}
}
{ }
This data structure is used to activate or deactivate a SAML identity provider
teamId required | integer <int64> |
isActive required | boolean |
{- "teamId": 0,
- "isActive": true
}
{ }
{- "teamId": 0,
- "spParameters": {
- "signingCertPem": "certificate",
- "nameIdFormat": "name_id",
- "assertionConsumerServiceUrl": "assertion",
- "binding": "binding"
}, - "idpParameters": {
- "active": true,
- "metadataContent": "<?xml version= ...",
- "teamEntityId": 1234567,
- "groupNames": [
- "group1"
]
}
}
This data structure is used to set the parameters of a SAML identity provider
teamId required | integer <int64> |
required | object (IDP Parameters) This data structure represents a set of SAML identity provider parameters |
{- "teamId": 0,
- "params": {
- "active": true,
- "metadataContent": "<?xml version= ...",
- "teamEntityId": 1234567,
- "groupNames": [
- "group1"
]
}
}
{ }
{- "params": {
- "signingCertPem": "certificate",
- "nameIdFormat": "name_id",
- "assertionConsumerServiceUrl": "assertion",
- "binding": "binding"
}
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
dataprimeQuery.serialized.data | string <byte> |
dataprimeQuery.raw.text | string |
strategy.instant.timestampField.keypath | Array of strings |
strategy.instant.timestampField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
strategy.range.startTimestampField.keypath | Array of strings |
strategy.range.startTimestampField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
strategy.range.endTimestampField.keypath | Array of strings |
strategy.range.endTimestampField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
strategy.duration.startTimestampField.keypath | Array of strings |
strategy.duration.startTimestampField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
strategy.duration.durationField.keypath | Array of strings |
strategy.duration.durationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
limit | integer <int32> |
{- "annotationEvents": [
- {
- "instant": {
- "timestamp": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "payload": { }
}, - "range": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "payload": { }
}
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
luceneQuery | string |
groupBy | Array of strings |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
{- "groups": [
- {
- "fields": [
- {
- "name": "string",
- "value": "string"
}
], - "values": [
- 0.1
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
luceneQuery | string |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
{- "total": "string",
- "events": [
- {
- "logId": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "text": "string",
- "json": { },
- "logsMetadata": {
- "applicationName": "string",
- "subsystemName": "string",
- "severity": "LOG_SEVERITY_LEVEL_UNSPECIFIED"
}
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
groupByFields | Array of strings |
aggregation.countDistinct.field | string |
aggregation.countDistinct.observationField.keypath | Array of strings |
aggregation.countDistinct.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.sum.field | string |
aggregation.sum.observationField.keypath | Array of strings |
aggregation.sum.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.average.field | string |
aggregation.average.observationField.keypath | Array of strings |
aggregation.average.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.min.field | string |
aggregation.min.observationField.keypath | Array of strings |
aggregation.min.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.max.field | string |
aggregation.max.observationField.keypath | Array of strings |
aggregation.max.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.percentile.field | string |
aggregation.percentile.percent | number <double> Value in range (0, 100] |
aggregation.percentile.observationField.keypath | Array of strings |
aggregation.percentile.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
luceneQuery | string |
{- "series": [
- {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
interval | string |
aggregation.countDistinct.field | string |
aggregation.countDistinct.observationField.keypath | Array of strings |
aggregation.countDistinct.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.sum.field | string |
aggregation.sum.observationField.keypath | Array of strings |
aggregation.sum.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.average.field | string |
aggregation.average.observationField.keypath | Array of strings |
aggregation.average.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.min.field | string |
aggregation.min.observationField.keypath | Array of strings |
aggregation.min.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.max.field | string |
aggregation.max.observationField.keypath | Array of strings |
aggregation.max.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.percentile.field | string |
aggregation.percentile.percent | number <double> Value in range (0, 100] |
aggregation.percentile.observationField.keypath | Array of strings |
aggregation.percentile.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
luceneQuery | string |
{- "series": [
- {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
luceneQuery | string |
groupBy | Array of strings |
aggregation.countDistinct.field | string |
aggregation.countDistinct.observationField.keypath | Array of strings |
aggregation.countDistinct.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.sum.field | string |
aggregation.sum.observationField.keypath | Array of strings |
aggregation.sum.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.average.field | string |
aggregation.average.observationField.keypath | Array of strings |
aggregation.average.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.min.field | string |
aggregation.min.observationField.keypath | Array of strings |
aggregation.min.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.max.field | string |
aggregation.max.observationField.keypath | Array of strings |
aggregation.max.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
aggregation.percentile.field | string |
aggregation.percentile.percent | number <double> Value in range (0, 100] |
aggregation.percentile.observationField.keypath | Array of strings |
aggregation.percentile.observationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
limit | integer <int32> |
{- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
], - "isLimitExceeded": true,
- "total": "string"
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
interval | string |
groupBy | Array of strings |
limit | integer <int32> |
luceneQuery | string |
{- "timeSeries": [
- {
- "name": "string",
- "values": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0.1
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}
}
], - "total": "string"
}
requestId | string |
object (astDashboard) Dashboard represents the structure and configuration of a Coralogix Custom Dashboard. |
{- "requestId": "string",
- "dashboard": {
- "id": "string",
- "name": "string",
- "description": "string",
- "layout": {
- "sections": [
- {
- "id": {
- "value": "string"
}, - "rows": [
- {
- "id": {
- "value": "string"
}, - "appearance": {
- "height": 0
}, - "widgets": [
- {
- "id": {
- "value": null
}, - "title": "string",
- "description": "string",
- "definition": {
- "lineChart": null,
- "dataTable": null,
- "gauge": null,
- "pieChart": null,
- "barChart": null,
- "horizontalBarChart": null,
- "markdown": null,
- "hexagon": null
}, - "appearance": {
- "width": null
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
], - "options": {
- "internal": { },
- "custom": {
- "name": "string",
- "description": "string",
- "collapsed": true,
- "color": {
- "predefined": "SECTION_PREDEFINED_COLOR_UNSPECIFIED"
}
}
}
}
]
}, - "variables": [
- {
- "name": "string",
- "definition": {
- "constant": {
- "value": "string"
}, - "multiSelect": {
- "selected": [
- "string"
], - "source": {
- "logsPath": {
- "value": "string",
- "observationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "metricLabel": {
- "metricName": "string",
- "label": "string"
}, - "constantList": {
- "values": [
- "string"
]
}, - "spanField": {
- "value": {
- "metadataField": "METADATA_FIELD_UNSPECIFIED",
- "tagField": "string",
- "processTagField": "string"
}
}, - "query": {
- "query": {
- "logsQuery": {
- "type": null
}, - "metricsQuery": {
- "type": null
}, - "spansQuery": {
- "type": null
}
}, - "refreshStrategy": "REFRESH_STRATEGY_UNSPECIFIED",
- "valueDisplayOptions": {
- "valueRegex": "string",
- "labelRegex": "string"
}
}
}, - "selection": {
- "all": { },
- "list": {
- "values": [
- "string"
], - "labels": [
- "string"
]
}
}, - "valuesOrderDirection": "ORDER_DIRECTION_UNSPECIFIED",
- "selectionOptions": {
- "selectionType": "SELECTION_TYPE_UNSPECIFIED"
}
}
}, - "displayName": "string",
- "description": "string",
- "displayType": "VARIABLE_DISPLAY_TYPE_UNSPECIFIED"
}
], - "filters": [
- {
- "source": {
- "logs": {
- "field": "string",
- "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}, - "observationField": {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "spans": {
- "field": {
- "metadataField": "METADATA_FIELD_UNSPECIFIED",
- "tagField": "string",
- "processTagField": "string"
}, - "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}
}, - "metrics": {
- "metric": "string",
- "label": "string",
- "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}
}
}, - "enabled": true,
- "collapsed": true
}
], - "absoluteTimeFrame": {
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z"
}, - "relativeTimeFrame": "string",
- "folderId": {
- "value": "string"
}, - "folderPath": {
- "segments": [
- "string"
]
}, - "annotations": [
- {
- "id": "string",
- "name": "string",
- "enabled": true,
- "source": {
- "metrics": {
- "promqlQuery": {
- "value": "string"
}, - "strategy": {
- "startTimeMetric": { }
}, - "messageTemplate": "string",
- "labels": [
- "string"
]
}, - "logs": {
- "luceneQuery": {
- "value": "string"
}, - "strategy": {
- "instant": {
- "timestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "range": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "endTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "duration": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "durationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}
}, - "messageTemplate": "string",
- "labelFields": [
- {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
]
}, - "spans": {
- "luceneQuery": {
- "value": "string"
}, - "strategy": {
- "instant": {
- "timestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "range": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "endTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "duration": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "durationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}
}, - "messageTemplate": "string",
- "labelFields": [
- {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
]
}
}
}
], - "off": { },
- "twoMinutes": { },
- "fiveMinutes": { }
}
}
{- "dashboardId": "string"
}
requestId | string |
object (astDashboard) Dashboard represents the structure and configuration of a Coralogix Custom Dashboard. |
{- "requestId": "string",
- "dashboard": {
- "id": "string",
- "name": "string",
- "description": "string",
- "layout": {
- "sections": [
- {
- "id": {
- "value": "string"
}, - "rows": [
- {
- "id": {
- "value": "string"
}, - "appearance": {
- "height": 0
}, - "widgets": [
- {
- "id": {
- "value": null
}, - "title": "string",
- "description": "string",
- "definition": {
- "lineChart": null,
- "dataTable": null,
- "gauge": null,
- "pieChart": null,
- "barChart": null,
- "horizontalBarChart": null,
- "markdown": null,
- "hexagon": null
}, - "appearance": {
- "width": null
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
], - "options": {
- "internal": { },
- "custom": {
- "name": "string",
- "description": "string",
- "collapsed": true,
- "color": {
- "predefined": "SECTION_PREDEFINED_COLOR_UNSPECIFIED"
}
}
}
}
]
}, - "variables": [
- {
- "name": "string",
- "definition": {
- "constant": {
- "value": "string"
}, - "multiSelect": {
- "selected": [
- "string"
], - "source": {
- "logsPath": {
- "value": "string",
- "observationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "metricLabel": {
- "metricName": "string",
- "label": "string"
}, - "constantList": {
- "values": [
- "string"
]
}, - "spanField": {
- "value": {
- "metadataField": "METADATA_FIELD_UNSPECIFIED",
- "tagField": "string",
- "processTagField": "string"
}
}, - "query": {
- "query": {
- "logsQuery": {
- "type": null
}, - "metricsQuery": {
- "type": null
}, - "spansQuery": {
- "type": null
}
}, - "refreshStrategy": "REFRESH_STRATEGY_UNSPECIFIED",
- "valueDisplayOptions": {
- "valueRegex": "string",
- "labelRegex": "string"
}
}
}, - "selection": {
- "all": { },
- "list": {
- "values": [
- "string"
], - "labels": [
- "string"
]
}
}, - "valuesOrderDirection": "ORDER_DIRECTION_UNSPECIFIED",
- "selectionOptions": {
- "selectionType": "SELECTION_TYPE_UNSPECIFIED"
}
}
}, - "displayName": "string",
- "description": "string",
- "displayType": "VARIABLE_DISPLAY_TYPE_UNSPECIFIED"
}
], - "filters": [
- {
- "source": {
- "logs": {
- "field": "string",
- "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}, - "observationField": {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "spans": {
- "field": {
- "metadataField": "METADATA_FIELD_UNSPECIFIED",
- "tagField": "string",
- "processTagField": "string"
}, - "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}
}, - "metrics": {
- "metric": "string",
- "label": "string",
- "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}
}
}, - "enabled": true,
- "collapsed": true
}
], - "absoluteTimeFrame": {
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z"
}, - "relativeTimeFrame": "string",
- "folderId": {
- "value": "string"
}, - "folderPath": {
- "segments": [
- "string"
]
}, - "annotations": [
- {
- "id": "string",
- "name": "string",
- "enabled": true,
- "source": {
- "metrics": {
- "promqlQuery": {
- "value": "string"
}, - "strategy": {
- "startTimeMetric": { }
}, - "messageTemplate": "string",
- "labels": [
- "string"
]
}, - "logs": {
- "luceneQuery": {
- "value": "string"
}, - "strategy": {
- "instant": {
- "timestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "range": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "endTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "duration": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "durationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}
}, - "messageTemplate": "string",
- "labelFields": [
- {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
]
}, - "spans": {
- "luceneQuery": {
- "value": "string"
}, - "strategy": {
- "instant": {
- "timestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "range": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "endTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "duration": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "durationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}
}, - "messageTemplate": "string",
- "labelFields": [
- {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
]
}
}
}
], - "off": { },
- "twoMinutes": { },
- "fiveMinutes": { }
}
}
{ }
{- "dashboard": {
- "id": "string",
- "name": "string",
- "description": "string",
- "layout": {
- "sections": [
- {
- "id": {
- "value": "string"
}, - "rows": [
- {
- "id": {
- "value": "string"
}, - "appearance": {
- "height": 0
}, - "widgets": [
- {
- "id": {
- "value": null
}, - "title": "string",
- "description": "string",
- "definition": {
- "lineChart": null,
- "dataTable": null,
- "gauge": null,
- "pieChart": null,
- "barChart": null,
- "horizontalBarChart": null,
- "markdown": null,
- "hexagon": null
}, - "appearance": {
- "width": null
}, - "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
], - "options": {
- "internal": { },
- "custom": {
- "name": "string",
- "description": "string",
- "collapsed": true,
- "color": {
- "predefined": "SECTION_PREDEFINED_COLOR_UNSPECIFIED"
}
}
}
}
]
}, - "variables": [
- {
- "name": "string",
- "definition": {
- "constant": {
- "value": "string"
}, - "multiSelect": {
- "selected": [
- "string"
], - "source": {
- "logsPath": {
- "value": "string",
- "observationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "metricLabel": {
- "metricName": "string",
- "label": "string"
}, - "constantList": {
- "values": [
- "string"
]
}, - "spanField": {
- "value": {
- "metadataField": "METADATA_FIELD_UNSPECIFIED",
- "tagField": "string",
- "processTagField": "string"
}
}, - "query": {
- "query": {
- "logsQuery": {
- "type": null
}, - "metricsQuery": {
- "type": null
}, - "spansQuery": {
- "type": null
}
}, - "refreshStrategy": "REFRESH_STRATEGY_UNSPECIFIED",
- "valueDisplayOptions": {
- "valueRegex": "string",
- "labelRegex": "string"
}
}
}, - "selection": {
- "all": { },
- "list": {
- "values": [
- "string"
], - "labels": [
- "string"
]
}
}, - "valuesOrderDirection": "ORDER_DIRECTION_UNSPECIFIED",
- "selectionOptions": {
- "selectionType": "SELECTION_TYPE_UNSPECIFIED"
}
}
}, - "displayName": "string",
- "description": "string",
- "displayType": "VARIABLE_DISPLAY_TYPE_UNSPECIFIED"
}
], - "filters": [
- {
- "source": {
- "logs": {
- "field": "string",
- "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}, - "observationField": {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "spans": {
- "field": {
- "metadataField": "METADATA_FIELD_UNSPECIFIED",
- "tagField": "string",
- "processTagField": "string"
}, - "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}
}, - "metrics": {
- "metric": "string",
- "label": "string",
- "operator": {
- "equals": {
- "selection": {
- "all": { },
- "list": {
- "values": [ ]
}
}
}, - "notEquals": {
- "selection": {
- "list": {
- "values": [ ]
}
}
}
}
}
}, - "enabled": true,
- "collapsed": true
}
], - "absoluteTimeFrame": {
- "from": "2019-08-24T14:15:22Z",
- "to": "2019-08-24T14:15:22Z"
}, - "relativeTimeFrame": "string",
- "folderId": {
- "value": "string"
}, - "folderPath": {
- "segments": [
- "string"
]
}, - "annotations": [
- {
- "id": "string",
- "name": "string",
- "enabled": true,
- "source": {
- "metrics": {
- "promqlQuery": {
- "value": "string"
}, - "strategy": {
- "startTimeMetric": { }
}, - "messageTemplate": "string",
- "labels": [
- "string"
]
}, - "logs": {
- "luceneQuery": {
- "value": "string"
}, - "strategy": {
- "instant": {
- "timestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "range": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "endTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "duration": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "durationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}
}, - "messageTemplate": "string",
- "labelFields": [
- {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
]
}, - "spans": {
- "luceneQuery": {
- "value": "string"
}, - "strategy": {
- "instant": {
- "timestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "range": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "endTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}, - "duration": {
- "startTimestampField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}, - "durationField": {
- "keypath": [
- null
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
}
}, - "messageTemplate": "string",
- "labelFields": [
- {
- "keypath": [
- "string"
], - "scope": "DATASET_SCOPE_UNSPECIFIED"
}
]
}
}
}
], - "off": { },
- "twoMinutes": { },
- "fiveMinutes": { }
}, - "updatedAt": "2019-08-24T14:15:22Z"
}
dashboardId required | string |
requestId | string |
folderId | string (could be null to assign the dashboard to root) |
{- "requestId": "string",
- "folderId": "string"
}
{ }
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
interval | string |
promqlQuery | string |
limit | integer <int32> |
{- "annotationEvents": [
- {
- "instant": {
- "timestamp": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "payload": { }
}, - "range": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "payload": { }
}
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
timeSeriesInterval | string |
promqlQuery | string |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
orderBy.direction | string Default: "ORDER_DIRECTION_UNSPECIFIED" Enum: "ORDER_DIRECTION_UNSPECIFIED" "ORDER_DIRECTION_ASC" "ORDER_DIRECTION_DESC" |
orderBy.label | string |
orderBy.aggType | string Default: "AGGREGATION_TYPE_UNSPECIFIED" Enum: "AGGREGATION_TYPE_UNSPECIFIED" "AGGREGATION_TYPE_LAST" "AGGREGATION_TYPE_MIN" "AGGREGATION_TYPE_MAX" "AGGREGATION_TYPE_AVG" "AGGREGATION_TYPE_SUM" |
{- "labels": [
- "string"
], - "metricsEvents": [
- {
- "aggregations": [
- {
- "aggregationType": "AGGREGATION_TYPE_UNSPECIFIED",
- "value": 0.1
}
], - "timeSeries": {
- "name": "string",
- "values": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0.1
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}
}
}
], - "total": "string"
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
promqlQuery | string |
groupBy | Array of strings |
{- "series": [
- {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
interval | string |
promqlQuery | string |
{- "series": [
- {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
promqlQuery | string |
groupBy | Array of strings |
limit | integer <int32> |
{- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
], - "isLimitExceeded": true,
- "total": "string"
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
interval | string |
promqlQuery | string |
limit | integer <int32> |
{- "timeSeries": [
- {
- "name": "string",
- "values": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0.1
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}
}
], - "total": "string"
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
promqlQuery | string |
limit | integer <int32> |
{- "values": [
- {
- "name": "string",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "value": 0.1
}
], - "isLimitExceeded": true,
- "total": "string"
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
groupByKeys | Array of strings |
aggregationKeys | Array of strings |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
{- "groups": [
- {
- "fields": [
- {
- "name": "string",
- "value": "string"
}
], - "values": [
- 0.1
]
}
]
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
{- "events": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "metadata": {
- "property1": "string",
- "property2": "string"
}, - "labels": {
- "property1": "string",
- "property2": "string"
}, - "userData": { }
}
], - "totalFetched": 0
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
{- "count": "string"
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
groupByKeys | Array of strings Have to be ordered for correctly structured results. |
aggregationKey | string |
{- "series": [
- {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}
], - "meta": {
- "property1": "string",
- "property2": "string"
}
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
groupByKeys | Array of strings Expects up to 1 element for now, without |
aggregationKey | string |
{- "series": {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}, - "meta": {
- "property1": "string",
- "property2": "string"
}
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
groupByKeys | Array of strings |
aggregationKey | string |
limit | integer <int32> |
{- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
], - "isLimitExceeded": true,
- "total": "string",
- "meta": {
- "property1": "string",
- "property2": "string"
}
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
limit | integer <int32> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
aggregationKeys | Array of strings |
{- "timeSeries": [
- {
- "name": "string",
- "values": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0.1
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}
}
], - "total": "string"
}
{- "items": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "isDefault": true,
- "isPinned": true,
- "createTime": "2019-08-24T14:15:22Z",
- "updateTime": "2019-08-24T14:15:22Z",
- "folder": {
- "id": "string",
- "name": "string",
- "parentId": "string"
}
}
]
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
groupByKeys | Array of strings |
aggregationKeys | Array of strings |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
{- "groups": [
- {
- "fields": [
- {
- "name": "string",
- "value": "string"
}
], - "values": [
- 0.1
]
}
]
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
{- "events": [
- {
- "spanId": "string",
- "traceId": "string",
- "parentSpanId": "string",
- "metadata": {
- "applicationName": "string",
- "subsystemName": "string",
- "serviceName": "string",
- "operationName": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "duration": "string",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "processTags": [
- {
- "key": "string",
- "value": "string"
}
], - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}
]
}
], - "totalFetched": 0
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
{- "count": "string"
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
groupByKeys | Array of strings Have to be ordered for correctly structured results. |
aggregationKey | string |
{- "series": [
- {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}
], - "meta": {
- "property1": "string",
- "property2": "string"
}
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
groupByKeys | Array of strings Expects up to 1 element for now, without |
aggregationKey | string |
{- "series": {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}, - "meta": {
- "property1": "string",
- "property2": "string"
}
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
groupByKeys | Array of strings |
aggregationKeys | string |
limit | integer <int32> |
{- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
], - "isLimitExceeded": true,
- "total": "string",
- "meta": {
- "property1": "string",
- "property2": "string"
}
}
widgetId | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
limit | integer <int32> |
requestParamsHash | string |
query.data | string <byte> |
queryRaw.text | string |
aggregationKeys | Array of strings |
{- "timeSeries": [
- {
- "name": "string",
- "values": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0.1
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}
}
], - "total": "string"
}
dataprimeQuery.data | string <byte> |
dataprimeQueryRaw.text | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
limit | integer <int32> |
{- "results": [
- {
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "userData": "string"
}
]
}
dataprimeQuery.data | string <byte> |
dataprimeQueryRaw.text | string |
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
limit | integer <int32> |
widgetId | string |
{- "results": [
- {
- "metadata": [
- {
- "key": "string",
- "value": "string"
}
], - "labels": [
- {
- "key": "string",
- "value": "string"
}
], - "userData": "string"
}
], - "meta": {
- "property1": "string",
- "property2": "string"
}
}
requestId | string |
object (commonDashboardFolder) |
{- "requestId": "string",
- "folder": {
- "id": "string",
- "name": "string",
- "parentId": "string"
}
}
{ }
requestId | string |
object (commonDashboardFolder) |
{- "requestId": "string",
- "folder": {
- "id": "string",
- "name": "string",
- "parentId": "string"
}
}
{ }
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
luceneQuery | string |
strategy.instant.timestampField.keypath | Array of strings |
strategy.instant.timestampField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
strategy.range.startTimestampField.keypath | Array of strings |
strategy.range.startTimestampField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
strategy.range.endTimestampField.keypath | Array of strings |
strategy.range.endTimestampField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
strategy.duration.startTimestampField.keypath | Array of strings |
strategy.duration.startTimestampField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
strategy.duration.durationField.keypath | Array of strings |
strategy.duration.durationField.scope | string Default: "DATASET_SCOPE_UNSPECIFIED" Enum: "DATASET_SCOPE_UNSPECIFIED" "DATASET_SCOPE_USER_DATA" "DATASET_SCOPE_LABEL" "DATASET_SCOPE_METADATA" |
limit | integer <int32> |
{- "annotationEvents": [
- {
- "instant": {
- "timestamp": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "payload": { }
}, - "range": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "payload": { }
}
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
luceneQuery | string |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
{- "groups": [
- {
- "fields": [
- {
- "name": "string",
- "value": "string"
}
], - "values": [
- 0.1
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
luceneQuery | string |
pagination.offset | integer <int32> |
pagination.limit | integer <int32> |
{- "total": "string",
- "spansEvents": [
- {
- "spanId": "string",
- "traceId": "string",
- "parentSpanId": "string",
- "metadata": {
- "applicationName": "string",
- "subsystemName": "string",
- "serviceName": "string",
- "operationName": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "duration": "string",
- "tags": [
- {
- "key": "string",
- "value": "string"
}
], - "processTags": [
- {
- "key": "string",
- "value": "string"
}
], - "logs": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "fields": {
- "property1": "string",
- "property2": "string"
}
}
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
aggregation.metricAggregation.metricField | string Default: "METRIC_FIELD_UNSPECIFIED" Enum: "METRIC_FIELD_UNSPECIFIED" "METRIC_FIELD_DURATION" |
aggregation.metricAggregation.aggregationType | string Default: "METRIC_AGGREGATION_TYPE_UNSPECIFIED" Enum: "METRIC_AGGREGATION_TYPE_UNSPECIFIED" "METRIC_AGGREGATION_TYPE_MIN" "METRIC_AGGREGATION_TYPE_MAX" "METRIC_AGGREGATION_TYPE_AVERAGE" "METRIC_AGGREGATION_TYPE_SUM" "METRIC_AGGREGATION_TYPE_PERCENTILE_99" "METRIC_AGGREGATION_TYPE_PERCENTILE_95" "METRIC_AGGREGATION_TYPE_PERCENTILE_50" |
aggregation.dimensionAggregation.dimensionField | string Default: "DIMENSION_FIELD_UNSPECIFIED" Enum: "DIMENSION_FIELD_UNSPECIFIED" "DIMENSION_FIELD_TRACE_ID" |
aggregation.dimensionAggregation.aggregationType | string Default: "DIMENSION_AGGREGATION_TYPE_UNSPECIFIED" Enum: "DIMENSION_AGGREGATION_TYPE_UNSPECIFIED" "DIMENSION_AGGREGATION_TYPE_UNIQUE_COUNT" "DIMENSION_AGGREGATION_TYPE_ERROR_COUNT" |
luceneQuery | string |
{- "series": [
- {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
interval | string |
aggregation.metricAggregation.metricField | string Default: "METRIC_FIELD_UNSPECIFIED" Enum: "METRIC_FIELD_UNSPECIFIED" "METRIC_FIELD_DURATION" |
aggregation.metricAggregation.aggregationType | string Default: "METRIC_AGGREGATION_TYPE_UNSPECIFIED" Enum: "METRIC_AGGREGATION_TYPE_UNSPECIFIED" "METRIC_AGGREGATION_TYPE_MIN" "METRIC_AGGREGATION_TYPE_MAX" "METRIC_AGGREGATION_TYPE_AVERAGE" "METRIC_AGGREGATION_TYPE_SUM" "METRIC_AGGREGATION_TYPE_PERCENTILE_99" "METRIC_AGGREGATION_TYPE_PERCENTILE_95" "METRIC_AGGREGATION_TYPE_PERCENTILE_50" |
aggregation.dimensionAggregation.dimensionField | string Default: "DIMENSION_FIELD_UNSPECIFIED" Enum: "DIMENSION_FIELD_UNSPECIFIED" "DIMENSION_FIELD_TRACE_ID" |
aggregation.dimensionAggregation.aggregationType | string Default: "DIMENSION_AGGREGATION_TYPE_UNSPECIFIED" Enum: "DIMENSION_AGGREGATION_TYPE_UNSPECIFIED" "DIMENSION_AGGREGATION_TYPE_UNIQUE_COUNT" "DIMENSION_AGGREGATION_TYPE_ERROR_COUNT" |
luceneQuery | string |
{- "series": [
- {
- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
]
}
]
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
luceneQuery | string |
aggregation.metricAggregation.metricField | string Default: "METRIC_FIELD_UNSPECIFIED" Enum: "METRIC_FIELD_UNSPECIFIED" "METRIC_FIELD_DURATION" |
aggregation.metricAggregation.aggregationType | string Default: "METRIC_AGGREGATION_TYPE_UNSPECIFIED" Enum: "METRIC_AGGREGATION_TYPE_UNSPECIFIED" "METRIC_AGGREGATION_TYPE_MIN" "METRIC_AGGREGATION_TYPE_MAX" "METRIC_AGGREGATION_TYPE_AVERAGE" "METRIC_AGGREGATION_TYPE_SUM" "METRIC_AGGREGATION_TYPE_PERCENTILE_99" "METRIC_AGGREGATION_TYPE_PERCENTILE_95" "METRIC_AGGREGATION_TYPE_PERCENTILE_50" |
aggregation.dimensionAggregation.dimensionField | string Default: "DIMENSION_FIELD_UNSPECIFIED" Enum: "DIMENSION_FIELD_UNSPECIFIED" "DIMENSION_FIELD_TRACE_ID" |
aggregation.dimensionAggregation.aggregationType | string Default: "DIMENSION_AGGREGATION_TYPE_UNSPECIFIED" Enum: "DIMENSION_AGGREGATION_TYPE_UNSPECIFIED" "DIMENSION_AGGREGATION_TYPE_UNIQUE_COUNT" "DIMENSION_AGGREGATION_TYPE_ERROR_COUNT" |
limit | integer <int32> |
{- "groups": [
- {
- "field": {
- "name": "string",
- "value": "string"
}, - "value": 0.1,
- "groups": [
- { }
]
}
], - "isLimitExceeded": true,
- "total": "string"
}
timeFrame.from | string <date-time> |
timeFrame.to | string <date-time> |
interval | string |
luceneQuery | string |
limit | integer <int32> |
{- "timeSeries": [
- {
- "name": "string",
- "values": [
- {
- "timestamp": "2019-08-24T14:15:22Z",
- "value": 0.1
}
], - "labels": {
- "property1": "string",
- "property2": "string"
}
}
], - "total": "string"
}
{- "actions": [
- {
- "id": "string",
- "name": "string",
- "url": "string",
- "isHidden": true,
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
], - "createdBy": "string"
}
]
}
name | string |
url | string |
isPrivate | boolean |
sourceType | string (v2SourceType) Default: "SOURCE_TYPE_UNSPECIFIED" Enum: "SOURCE_TYPE_UNSPECIFIED" "SOURCE_TYPE_LOG" "SOURCE_TYPE_DATA_MAP" |
applicationNames | Array of strings |
subsystemNames | Array of strings |
{- "name": "string",
- "url": "string",
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
]
}
{- "action": {
- "id": "string",
- "name": "string",
- "url": "string",
- "isHidden": true,
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
], - "createdBy": "string"
}
}
object (actionsv2Action) |
{- "action": {
- "id": "string",
- "name": "string",
- "url": "string",
- "isHidden": true,
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
], - "createdBy": "string"
}
}
{- "action": {
- "id": "string",
- "name": "string",
- "url": "string",
- "isHidden": true,
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
], - "createdBy": "string"
}
}
Array of objects (v2ActionExecutionRequest) |
{- "requests": [
- {
- "create": {
- "name": "string",
- "url": "string",
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
]
}, - "replace": {
- "action": {
- "id": "string",
- "name": "string",
- "url": "string",
- "isHidden": true,
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
], - "createdBy": "string"
}
}, - "delete": {
- "id": "string"
}
}
]
}
{- "matchingResponses": [
- {
- "create": {
- "action": {
- "id": "string",
- "name": "string",
- "url": "string",
- "isHidden": true,
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
], - "createdBy": "string"
}
}, - "replace": {
- "action": {
- "id": "string",
- "name": "string",
- "url": "string",
- "isHidden": true,
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
], - "createdBy": "string"
}
}, - "delete": { }
}
]
}
{- "privateActionsOrder": {
- "property1": 0,
- "property2": 0
}, - "sharedActionsOrder": {
- "property1": 0,
- "property2": 0
}
}
{ }
{- "action": {
- "id": "string",
- "name": "string",
- "url": "string",
- "isHidden": true,
- "isPrivate": true,
- "sourceType": "SOURCE_TYPE_UNSPECIFIED",
- "applicationNames": [
- "string"
], - "subsystemNames": [
- "string"
], - "createdBy": "string"
}
}
Create view folder
Create view folder.
name | string (View folder name) non-empty Folder name |
{- "name": "My Folder"
}
{- "id": "0cd4ed54-9b59-4eef-b329-151a167e2304",
- "name": "My Folder"
}
Replaces an existing view folder
folder.id required | string <uuid> Unique identifier for folders |
View folder
name required | string non-empty Folder name |
{- "name": "My Folder"
}
{- "id": "0cd4ed54-9b59-4eef-b329-151a167e2304",
- "name": "My Folder"
}
{- "views": [
- {
- "id": 52,
- "name": "Logs view",
- "search_query": {
- "query": "logs"
}, - "time_selection": {
- "custom_selection": {
- "from_time": "2024-01-25T11:31:43.152Z",
- "to_time": "2024-01-25T11:37:13.238Z"
}
}, - "filters": {
- "filters": [
- {
- "name": "applicationName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "subsystemName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "operationName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "serviceName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "severity",
- "selected_values": {
- "demo": true
}
}
]
}
}
]
}
Creates a new view
View folder.
name required | string non-empty View name |
object (SearchQuery) | |
required | object (Time selection) |
object (Selected filters) | |
folderId | string <uuid> = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... Unique identifier for folders |
{- "name": "Logs view",
- "searchQuery": {
- "query": "s"
}, - "timeSelection": {
- "quickSelection": {
- "caption": "Last Hour",
- "seconds": 3600
}, - "customSelection": {
- "fromTime": "2024-01-25T11:31:43.152Z",
- "toTime": "2024-01-25T11:35:43.152Z"
}
}, - "filters": {
- "filters": [
- {
- "name": "applicationName",
- "selectedValues": {
- "demo": true,
- "cs-rest-test1": true
}
}
]
}, - "folderId": "3dc02998-0b50-4ea8-b68a-4779d716fa1f"
}
{- "name": "Logs view",
- "search_query": {
- "query": "logs"
}, - "time_selection": {
- "custom_selection": {
- "from_time": "2024-01-25T11:31:43.152Z",
- "to_time": "2024-01-25T11:37:13.238Z"
}
}, - "filters": {
- "filters": [
- {
- "name": "applicationName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "subsystemName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "operationName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "serviceName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "severity",
- "selected_values": {
- "demo": true
}
}
]
}
}
{- "id": 52,
- "name": "Logs view",
- "search_query": {
- "query": "logs"
}, - "time_selection": {
- "custom_selection": {
- "from_time": "2024-01-25T11:31:43.152Z",
- "to_time": "2024-01-25T11:37:13.238Z"
}
}, - "filters": {
- "filters": [
- {
- "name": "applicationName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "subsystemName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "operationName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "serviceName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "severity",
- "selected_values": {
- "demo": true
}
}
]
}
}
Replaces an existing view
view.id required | integer <int32> id |
View
name required | string (View name) non-empty View name |
object (SearchQuery) | |
required | object (Time selection) |
object (Selected filters) | |
folderId | string <uuid> (View folder id) = 36 characters ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]... Unique identifier for folders |
{- "name": "Logs view",
- "searchQuery": {
- "query": "s"
}, - "timeSelection": {
- "quickSelection": {
- "caption": "Last Hour",
- "seconds": 3600
}, - "customSelection": {
- "fromTime": "2024-01-25T11:31:43.152Z",
- "toTime": "2024-01-25T11:35:43.152Z"
}
}, - "filters": {
- "filters": [
- {
- "name": "applicationName",
- "selectedValues": {
- "demo": true,
- "cs-rest-test1": true
}
}
]
}, - "folderId": "3dc02998-0b50-4ea8-b68a-4779d716fa1f"
}
{- "name": "Logs view",
- "search_query": {
- "query": "logs new"
}, - "time_selection": {
- "custom_selection": {
- "from_time": "2024-01-25T11:31:43.152Z",
- "to_time": "2024-01-25T11:37:13.238Z"
}
}, - "filters": {
- "filters": [
- {
- "name": "applicationName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "subsystemName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "operationName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "serviceName",
- "selected_values": {
- "demo": true
}
}, - {
- "name": "severity",
- "selected_values": {
- "demo": true
}
}
]
}
}
This data structure is used to add a metrics tco rule.
label required | string |
regex required | string |
{- "label": "rule1",
- "regex": ".*"
}
{ }
{- "tenantConfig": {
- "tenantId": 0,
- "retentionPolicy": {
- "rawResolution": 1,
- "fiveMinutesResolution": 2,
- "oneHourResolution": 3
}, - "ibm": {
- "endpoint": "s3.us-south.cloud-object-storage.appdomain.cloud",
- "crn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::",
- "serviceCrn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::"
}, - "s3": {
- "bucket": "string",
- "region": "string"
}, - "prefix": "string",
- "disabled": true
}
}
This data structure is used to configure a tenant.
required | object (Retenion Policy Request) This data structure is used to set the retention policy for a tenant. |
object (IBM Bucket Configuration) This data structure is used to configure an IBM bucket. | |
object (S3 Configuration) This data structure represents the S3 configuration for a tenant. |
{- "retentionPolicy": {
- "rawResolution": 1,
- "fiveMinutesResolution": 2,
- "oneHourResolution": 3
}, - "ibm": {
- "endpoint": "s3.us-south.cloud-object-storage.appdomain.cloud",
- "crn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::",
- "serviceCrn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::"
}, - "s3": {
- "bucket": "string",
- "region": "string"
}
}
{ }
This data structure is used to update the configuration of a tenant.
retentionDays required | integer <int64> |
object (IBM Bucket Configuration) This data structure is used to configure an IBM bucket. | |
object (S3 Configuration) This data structure represents the S3 configuration for a tenant. |
{- "retentionDays": 0,
- "ibm": {
- "endpoint": "s3.us-south.cloud-object-storage.appdomain.cloud",
- "crn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::",
- "serviceCrn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::"
}, - "s3": {
- "bucket": "string",
- "region": "string"
}
}
{ }
This data structure is used to validate a bucket.
object (IBM Bucket Configuration) This data structure is used to configure an IBM bucket. | |
object (S3 Configuration) This data structure represents the S3 configuration for a tenant. |
{- "ibm": {
- "endpoint": "s3.us-south.cloud-object-storage.appdomain.cloud",
- "crn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::",
- "serviceCrn": "crn:v1:bluemix:public:cloud-object-storage:global:a/1234567890abcdef1234567890abcdef:12345678-1234-1234-1234-1234567890ab::"
}, - "s3": {
- "bucket": "string",
- "region": "string"
}
}
{ }
{- "target": {
- "s3": {
- "bucket": "bucket",
- "region": "us-west-2"
}, - "ibmCos": {
- "bucketCrn": "bucket_crn",
- "serviceCrn": "service_crn",
- "bucketType": "IBM_BUCKET_TYPE_UNSPECIFIED"
}, - "archiveSpec": {
- "archivingFormatId": "json_id",
- "isActive": true,
- "enableTags": true
}
}
}
This data structure is used to set a storage target for logs.
isActive required | boolean |
object (IBM COS Target Spec) This data structure represents an IBM COS target. |
{- "isActive": true,
- "s3": {
- "bucket": "bucket",
- "region": "us-west-2"
}, - "ibmCos": {
- "bucketCrn": "bucket_crn",
- "serviceCrn": "service_crn",
- "bucketType": "IBM_BUCKET_TYPE_UNSPECIFIED"
}
}
{- "target": {
- "s3": {
- "bucket": "bucket",
- "region": "us-west-2"
}, - "ibmCos": {
- "bucketCrn": "bucket_crn",
- "serviceCrn": "service_crn",
- "bucketType": "IBM_BUCKET_TYPE_UNSPECIFIED"
}, - "archiveSpec": {
- "archivingFormatId": "json_id",
- "isActive": true,
- "enableTags": true
}
}
}
This data structure is used to validate a storage target for logs.
isActive required | boolean |
object (IBM COS Target Spec) This data structure represents an IBM COS target. |
{- "isActive": true,
- "s3": {
- "bucket": "bucket",
- "region": "us-west-2"
}, - "ibmCos": {
- "bucketCrn": "bucket_crn",
- "serviceCrn": "service_crn",
- "bucketType": "IBM_BUCKET_TYPE_UNSPECIFIED"
}
}
{- "isValid": true
}
enrichmentIds required | Array of integers <int64> [ items <int64 > ] |
{- "remainingEnrichments": [
- {
- "id": 1,
- "fieldName": 1,
- "enrichmentType": {
- "geoIp": { },
- "suspiciousIp": { },
- "aws": {
- "resourceType": "ec2"
}, - "customEnrichment": {
- "id": 1
}
}, - "enrichedFieldName": 1
}
]
}
This response data structure represents a collection of enrichments
required | Array of objects (Enrichment Prototype) |
{- "requestEnrichments": [
- {
- "fieldName": "sourceIPs",
- "enrichmentType": {
- "geoIp": { },
- "suspiciousIp": { },
- "aws": {
- "resourceType": "ec2"
}, - "customEnrichment": {
- "id": 1
}
}, - "enrichedFieldName": "string"
}
]
}
{- "enrichments": [
- {
- "id": 1,
- "fieldName": 1,
- "enrichmentType": {
- "geoIp": { },
- "suspiciousIp": { },
- "aws": {
- "resourceType": "ec2"
}, - "customEnrichment": {
- "id": 1
}
}, - "enrichedFieldName": 1
}
]
}
object (v1EnrichmentType) | |
Array of objects (v1EnrichmentFieldDefinition) |
{- "enrichmentType": {
- "geoIp": { },
- "suspiciousIp": { },
- "aws": {
- "resourceType": "ec2"
}, - "customEnrichment": {
- "id": 1
}
}, - "enrichmentFields": [
- {
- "fieldName": "string",
- "enrichedFieldName": "string"
}
]
}
{- "enrichments": [
- {
- "id": 1,
- "fieldName": 1,
- "enrichmentType": {
- "geoIp": { },
- "suspiciousIp": { },
- "aws": {
- "resourceType": "ec2"
}, - "customEnrichment": {
- "id": 1
}
}, - "enrichedFieldName": 1
}
]
}