diff --git a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.ts b/x-pack/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.ts index e199fa7adcec7..af5776c8582ed 100644 --- a/x-pack/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.ts +++ b/x-pack/plugins/infra/server/lib/domains/log_entries_domain/convert_document_source_to_log_item_fields.ts @@ -9,9 +9,7 @@ import { LogEntriesItemField } from '../../../../common/http_api'; import { JsonArray, JsonObject, jsonObjectRT, JsonValue } from '../../../../common/typed_json'; const serializeValue = (value: JsonValue): string => { - if (Array.isArray(value)) { - return value.map(serializeValue).join(', '); - } else if (typeof value === 'object' && value != null) { + if (typeof value === 'object' && value != null) { return stringify(value); } else { return `${value}`;