Skip to content

Data Formats

Last updated on

The Telemetry Router enables the forwarding of standardized telemetry data to various targets. The following sections explain the data standards.

Audit logs are security-relevant records that provide a complete and verifiable history of all activities within the cloud environment. Audit logs are processed and forwarded according to the OpenTelemetry Schema.

Example as JSON:

{
"resourceLogs": [
{
"resource": {
"attributes": []
},
"scopeLogs": [
{
"scope": {
"name": "stackit-audit-provider"
},
"logRecords": [
{
"attributes": [
{
"key": "stackit.resource.type",
"value": {
"stringValue": "PROJECT"
}
},
{
"key": "cloud.provider",
"value": {
"stringValue": "stackit"
}
},
{
"key": "service.name",
"value": {
"stringValue": "secrets-manager"
}
},
{
"key": "stackit.resource.id",
"value": {
"stringValue": "bc0ab21d-396b-4880-9678-71831bada614"
}
},
{
"key": "stackit.log.type",
"value": {
"stringValue": "AUDIT"
}
},
{
"key": "stackit.log.id",
"value": {
"stringValue": "2aabe527-2cfa-40cf-a379-dafbf1825ffe"
}
},
{
"key": "stackit.action",
"value": {
"stringValue": "secrets-manager.apikey.delete"
}
},
{
"key": "stackit.visibility",
"value": {
"stringValue": "PUBLIC"
}
},
{
"key": "stackit.initiator",
"value": {
"stringValue": "1472b021-f261-4bac-86cb-931a6759b7a2"
}
},
{
"key": "service.instance.id",
"value": {
"stringValue": "550e8400-e29b-41d4-a716-446655440000"
}
},
{
"key": "stackit.request.body",
"value": {
"stringValue": "{\"apikey_id\": \"key-9982\", \"reason\": \"rotation\"}"
}
},
{
"key": "user_agent.original",
"value": {
"stringValue": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36"
}
},
{
"key": "http.request.method",
"value": {
"stringValue": "DELETE"
}
},
{
"key": "url.path",
"value": {
"stringValue": "/v1/projects/bc0ab21d/apikeys/key-9982"
}
},
{
"key": "client.address",
"value": {
"stringValue": "192.168.1.45"
}
},
{
"key": "cloud.region",
"value": {
"stringValue": "eu01"
}
}
],
"body": {
"stringValue": "API Key 'key-9982' was successfully deleted by user."
},
"observedTimeUnixNano": 1775575195000000000,
"severityNumber": "SEVERITY_NUMBER_INFO",
"severityText": "INFO",
"timeUnixNano": 1775575194605756000
}
]
}
]
}
]
}