From 6928f97481797a006725d1980c67043dfbe72b6d Mon Sep 17 00:00:00 2001 From: vikrantgupta25 Date: Mon, 28 Oct 2024 23:13:12 +0530 Subject: [PATCH 1/2] chore: move hostname to resource attributes for logs qf --- frontend/src/pages/LogsExplorer/utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/LogsExplorer/utils.tsx b/frontend/src/pages/LogsExplorer/utils.tsx index 5b5ef631b0d..5f471bd0ba0 100644 --- a/frontend/src/pages/LogsExplorer/utils.tsx +++ b/frontend/src/pages/LogsExplorer/utils.tsx @@ -68,7 +68,7 @@ export const LogsQuickFiltersConfig: IQuickFiltersConfig[] = [ attributeKey: { key: 'hostname', dataType: DataTypes.String, - type: 'tag', + type: 'resource', isColumn: false, isJSON: false, }, From 3c1ae9a8bb84a404f30445369a111057e1998f07 Mon Sep 17 00:00:00 2001 From: vikrantgupta25 Date: Mon, 28 Oct 2024 23:42:08 +0530 Subject: [PATCH 2/2] chore: fix the key for hostname --- frontend/src/pages/LogsExplorer/utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/LogsExplorer/utils.tsx b/frontend/src/pages/LogsExplorer/utils.tsx index 5f471bd0ba0..f49aec6923c 100644 --- a/frontend/src/pages/LogsExplorer/utils.tsx +++ b/frontend/src/pages/LogsExplorer/utils.tsx @@ -66,7 +66,7 @@ export const LogsQuickFiltersConfig: IQuickFiltersConfig[] = [ type: FiltersType.CHECKBOX, title: 'Hostname', attributeKey: { - key: 'hostname', + key: 'host.name', dataType: DataTypes.String, type: 'resource', isColumn: false,