From cc90321ac03ef49a9051918524723f0ef2313ff5 Mon Sep 17 00:00:00 2001 From: Vikrant Gupta Date: Tue, 29 Oct 2024 13:18:34 +0530 Subject: [PATCH] chore: move hostname to resource attributes for logs qf (#6303) * chore: move hostname to resource attributes for logs qf * chore: fix the key for hostname --- frontend/src/pages/LogsExplorer/utils.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/LogsExplorer/utils.tsx b/frontend/src/pages/LogsExplorer/utils.tsx index 5b5ef631b0..f49aec6923 100644 --- a/frontend/src/pages/LogsExplorer/utils.tsx +++ b/frontend/src/pages/LogsExplorer/utils.tsx @@ -66,9 +66,9 @@ export const LogsQuickFiltersConfig: IQuickFiltersConfig[] = [ type: FiltersType.CHECKBOX, title: 'Hostname', attributeKey: { - key: 'hostname', + key: 'host.name', dataType: DataTypes.String, - type: 'tag', + type: 'resource', isColumn: false, isJSON: false, },