OtelLogsDataSource interface
Enables Otel logs to be collected by this data collection rule.
Properties
| enrich |
Specifies the reference alias to enrich the telemetry signal with. |
| enrich |
Specifies the list of resource attributes that need to be added as labels/dimensions to the telemetry data for further enrichment. |
| name | A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule. |
| replace |
Specifies whether to replace the default resourceId in the log record with the resourceId of the referenced resource being used for enrichment. |
| resource |
Specifies the routing policy based on OTLP payload resource attributes to route subset of the payload according to matching resource attribute. |
| streams | List of streams that this data source will be sent to. |
Property Details
enrichWithReference
Specifies the reference alias to enrich the telemetry signal with.
enrichWithReference?: string
Property Value
string
enrichWithResourceAttributes
Specifies the list of resource attributes that need to be added as labels/dimensions to the telemetry data for further enrichment.
enrichWithResourceAttributes?: string[]
Property Value
string[]
name
A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule.
name?: string
Property Value
string
replaceResourceIdWithReference
Specifies whether to replace the default resourceId in the log record with the resourceId of the referenced resource being used for enrichment.
replaceResourceIdWithReference?: boolean
Property Value
boolean
resourceAttributeRouting
Specifies the routing policy based on OTLP payload resource attributes to route subset of the payload according to matching resource attribute.
resourceAttributeRouting?: OtelLogsDataSourceResourceAttributeRouting
Property Value
streams
List of streams that this data source will be sent to.
streams: string[]
Property Value
string[]