diff --git a/lib/logstorage/pipe_stats.go b/lib/logstorage/pipe_stats.go index 8c8746c98..b4e598155 100644 --- a/lib/logstorage/pipe_stats.go +++ b/lib/logstorage/pipe_stats.go @@ -72,7 +72,7 @@ func (ps *pipeStats) String() string { } a := make([]string, len(ps.funcs)) for i, f := range ps.funcs { - a[i] = f.String() + " as " + ps.resultNames[i] + a[i] = f.String() + " as " + quoteTokenIfNeeded(ps.resultNames[i]) } s += strings.Join(a, ", ") return s