diff --git a/x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx b/x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx index f87101752bf21..e167b3ae670b1 100644 --- a/x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx +++ b/x-pack/plugins/infra/public/components/logging/log_entry_flyout/log_entry_actions_menu.tsx @@ -96,7 +96,7 @@ const getUptimeLink = (logItem: LogEntriesItem): LinkDescriptor | undefined => { .reduce((acc, fieldItem) => { const { field, value } = fieldItem; try { - const parsedValue: string[] = JSON.parse(value); + const parsedValue = decodeOrThrow(rt.array(rt.string))(JSON.parse(value)); return acc.concat(parsedValue.map(val => `${field}:${val}`)); } catch (e) { return acc.concat([`${field}:${value}`]);