From bd76c66e5058b1820570044e21f4cbb9239d7a24 Mon Sep 17 00:00:00 2001 From: kay delaney <45561153+kaydelaney@users.noreply.github.com> Date: Mon, 15 Jun 2020 15:06:43 +0100 Subject: [PATCH] Explore/Logs: Fix tooltip display for log graph (#25544) --- public/app/core/logs_model.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/app/core/logs_model.ts b/public/app/core/logs_model.ts index c8e113f6de5..bb06277de65 100644 --- a/public/app/core/logs_model.ts +++ b/public/app/core/logs_model.ts @@ -153,6 +153,9 @@ export function makeSeriesForLogs(sortedRows: LogRowModel[], bucketSize: number, ...valueField.config, color: series.color, }; + valueField.name = series.alias; + const fieldDisplayProcessor = getDisplayProcessor({ field: valueField, timeZone }); + valueField.display = (value: any) => ({ ...fieldDisplayProcessor(value), color: series.color }); const points = getFlotPairs({ xField: timeField,