Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/pkg/logcli/output/raw.go

17 lines
347 B

package output
import (
"time"
"github.com/grafana/loki/pkg/loghttp"
)
// RawOutput prints logs in their original form, without any metadata
type RawOutput struct {
options *LogOutputOptions
}
// Format a log entry as is
func (o *RawOutput) Format(ts time.Time, lbls loghttp.LabelSet, maxLabelsLen int, line string) string {
return line
}