Correlations: Handle undefined field in logfmt (#103372)
This commit is contained in:
@@ -22,7 +22,7 @@ export const getTransformationVars = (
|
||||
transformVal[transformation.mapValue || fieldName] = match[1] || match[0];
|
||||
}
|
||||
}
|
||||
} else if (transformation.type === SupportedTransformationType.Logfmt) {
|
||||
} else if (transformation.type === SupportedTransformationType.Logfmt && fieldValue !== undefined) {
|
||||
transformVal = logfmt.parse(fieldValue);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user