Log Events
Log events in OpenTelemetry are a special form of log record with the eventName field set. Log events can be used to signal changes or actions in a system. For example, Kubernetes events are mapped in Dash0 to log events. In Dash0, events can be accessed like any other log record, and there is a specialised Events View.
Sending Events
Events can be emitted using the OTel logging SDKs, much like any other log record. As long as a value for the eventName property is provided, the log record will be treated as an event.
Using Javascript as an example, this would look like this:
1234567891011121314import { logs } from '@opentelemetry/api-logs';const logger = logs.getLogger('my-application', '1.0.0');logger.emit({severityText: 'INFO',body: 'User login successful',eventName: 'user.login'attributes: {'user.id': '12345','user.email': 'user@example.com','login.method': 'oauth'}});
Kubernetes Events
Dash0 provides enhanced support for Kubernetes events collected via the k8seventsreceiver component of the OpenTelemetry Collector. These events are automatically transformed upon ingestion to match via resource centricity with the rest of Kubernetes resources.
Kubernetes Events can be accessed via a specialised events view and are automatically collected by the Dash0 Operator v0.92.0 and above.
Users of the OpenTelemetry Operator and otel-collector-contrib can enable Kubernetes event collection with the following snippet:
12receivers:k8s_events:
Important: The kubernetesEvents preset of the OpenTelemetry Operator unfortunately enables a different receiver component than k8seventsreceiver, which is NOT supported for automatic event enhancement in Dash0 and will result in the transmission of regular log records instead of log events.
Querying Events
Log events are a special form of log record. All analysis methods that work on logs in Dash0 also work for log events. The distinguishing feature of log events, eventName field, can be filtered and grouped by via otel.event.name.
Last updated: December 17, 2025

