diff --git a/kibana-reports/server/routes/utils/dataReportHelpers.ts b/kibana-reports/server/routes/utils/dataReportHelpers.ts index 296a2a25..3f589c2d 100644 --- a/kibana-reports/server/routes/utils/dataReportHelpers.ts +++ b/kibana-reports/server/routes/utils/dataReportHelpers.ts @@ -227,7 +227,7 @@ function sanitize(doc: any) { continue if ( doc[field].toString().startsWith('+') || - doc[field].toString().startsWith('-') || + (doc[field].toString().startsWith('-') && typeof doc[field] !== "number") || doc[field].toString().startsWith('=') || doc[field].toString().startsWith('@') ) {