OpenTelemetry Collector Data v2 Logs Example
PreviousThousandEyes for OpenTelemetry Data Model v2 - LogsNextOpenTelemetry Collector Configuration
Last updated
Last updated
Here is an example of a log of Activity Log type:
{
"resourceLogs": [
{
"resource": {
"attributes": [
{
"key": "thousandeyes.data.version",
"value": {
"stringValue": "v2"
}
},
{
"key": "thousandeyes.stream.id",
"value": {
"stringValue": " 79306e74-3c1e-48d0-aa52-0b1acba1ac1a"
}
},
{
"key": "thousandeyes.account.id",
"value": {
"stringValue": "134765"
}
},
{
"key": "thousandeyes.account.name",
"value": {
"stringValue": "Test Account"
}
}
]
},
"scopeLogs": [
{
"scope": {},
"logRecords": [
{
"timeUnixNano": "1743454471000000000",
"observedTimeUnixNano": "1743454471000000000",
"severityNumber": 9,
"severityText": "Info",
"body": {
"stringValue": "Login"
},
"attributes": [
{
"key": "thousandeyes.user.id",
"value": {
"stringValue": "213688"
}
},
{
"key": "thousandeyes.user.name",
"value": {
"stringValue": "Test User"
}
},
{
"key": "thousandeyes.user.address",
"value": {
"stringValue": "127.0.0.1"
}
},
{
"key": "thousandeyes.user.email",
"value": {
"stringValue": "[email protected]"
}
},
{
"key": "thousandeyes.activitylog.resources",
"value": {
"stringValue": "name:testuser"
}
}
],
}
]
}
]
}
]
}