diff --git a/cmd/chunks-inspect/main.go b/cmd/chunks-inspect/main.go index 5152711489181..ea20ecfd9e728 100644 --- a/cmd/chunks-inspect/main.go +++ b/cmd/chunks-inspect/main.go @@ -108,11 +108,11 @@ func printFile(filename string, blockDetails, printLines, storeBlocks bool) { if printLines { for _, l := range b.entries { - fmt.Printf("%v\t%s", time.Unix(0, l.timestamp).In(timezone).Format(format), strings.TrimSpace(l.line)) + fmt.Printf("TS(%v) LINE(%s) STRUCTURED_METADATA(", time.Unix(0, l.timestamp).In(timezone).Format(format), strings.TrimSpace(l.line)) for _, s := range l.structuredMetadata { - fmt.Printf("\t%s=%s", s.name, s.val) + fmt.Printf("%s=%s ", s.name, s.val) } - fmt.Println() + fmt.Println(")") } }