diff --git a/public/app/features/explore/state/query.ts b/public/app/features/explore/state/query.ts index bb789d82639..cb47fc5c9b8 100644 --- a/public/app/features/explore/state/query.ts +++ b/public/app/features/explore/state/query.ts @@ -583,7 +583,7 @@ export const runQueries = createAsyncThunk( newQuerySubscription = newQuerySource.subscribe({ next(data) { - if (data.logsResult !== null) { + if (data.logsResult !== null && data.state === LoadingState.Done) { reportInteraction('grafana_explore_logs_result_displayed', { datasourceType: datasourceInstance.type, });