Skip to content

Commit

Permalink
fix: generic flattening only for non otel sources
Browse files Browse the repository at this point in the history
  • Loading branch information
de-sh committed Jan 5, 2025
1 parent a32e4b3 commit cca61b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/json/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn flatten_json_body(
let mut nested_value = if schema_version == SchemaVersion::V1
&& matches!(
log_source,
LogSource::OtelLogs | LogSource::OtelMetrics | LogSource::OtelTraces
LogSource::Json | LogSource::Custom(_) | LogSource::Kinesis
) {
flatten::generic_flattening(body)?
} else {
Expand Down

0 comments on commit cca61b7

Please sign in to comment.