diff --git a/web/src/composables/useLogs.ts b/web/src/composables/useLogs.ts index 38cb6bdec1..43f44084c8 100644 --- a/web/src/composables/useLogs.ts +++ b/web/src/composables/useLogs.ts @@ -2247,6 +2247,11 @@ const useLogs = () => { } } } + + if(searchObj.data.query.toLowerCase().includes("group by")) { + return true; + } + return false; // No aggregation function or non-null groupby property found } @@ -6621,7 +6626,8 @@ const useLogs = () => { getStream, initialLogsState, clearSearchObj, - setCommunicationMethod + setCommunicationMethod, + hasAggregation, }; }; diff --git a/web/src/plugins/logs/DetailTable.vue b/web/src/plugins/logs/DetailTable.vue index be3b270ed4..5c3d43a3fc 100644 --- a/web/src/plugins/logs/DetailTable.vue +++ b/web/src/plugins/logs/DetailTable.vue @@ -288,7 +288,8 @@ along with this program. If not, see .
@@ -335,7 +336,7 @@ along with this program. If not, see .