Azure resultSignature is not necessarily a string #36499
Labels
bug
Something isn't working
needs triage
New item requiring triage
pkg/translator/azure
pkg/translator/azurelogs
Component(s)
pkg/translator/azure, pkg/translator/azurelogs
What happened?
Description
The
resultSignature
field in Azure logs is expected to be a string in the codebase:However, this field can vary in type depending on the Azure service emitting the logs. For instance, in Azure AI Search, the
resultSignature
field is an integer as stated in the Azure documentation:https://learn.microsoft.com/en-us/azure/search/monitor-azure-cognitive-search-data-reference#resource-log-schema
This discrepancy causes errors in processing logs from services where
resultSignature
is not a string.Steps to Reproduce
resultSignature
field (e.g., Azure AI Search).resultSignature
field is an integer.Expected Result
Logs from Azure services should be processed without errors, regardless of the type of the
resultSignature
field.Actual Result
An error is generated when processing logs with a
resultSignature
field that is not a string.Collector version
0.114.0
Environment information
Environment
OS: "Ubuntu 20.04"
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: