diff --git a/pkg/promtail/targets/lokipush/pushtarget.go b/pkg/promtail/targets/lokipush/pushtarget.go index 3dec7a8b20256..ed5cac29ae434 100644 --- a/pkg/promtail/targets/lokipush/pushtarget.go +++ b/pkg/promtail/targets/lokipush/pushtarget.go @@ -146,9 +146,9 @@ func (t *PushTarget) handle(w http.ResponseWriter, r *http.Request) { for _, entry := range stream.Entries { var err error if t.config.KeepTimestamp { - err = t.handler.Handle(filtered, entry.Timestamp, entry.Line) + err = t.handler.Handle(filtered.Clone(), entry.Timestamp, entry.Line) } else { - err = t.handler.Handle(filtered, time.Now(), entry.Line) + err = t.handler.Handle(filtered.Clone(), time.Now(), entry.Line) } if err != nil {