From 411b26bb1faad02b6b581689099d9587737145cc Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Fri, 13 Jul 2018 14:14:18 -0700 Subject: [PATCH] Fix output format of printer processor (#4417) --- plugins/processors/printer/printer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/processors/printer/printer.go b/plugins/processors/printer/printer.go index 363e9a21d..ead3e8ece 100644 --- a/plugins/processors/printer/printer.go +++ b/plugins/processors/printer/printer.go @@ -30,7 +30,7 @@ func (p *Printer) Apply(in ...telegraf.Metric) []telegraf.Metric { if err != nil { continue } - fmt.Println(octets) + fmt.Printf("%s", octets) } return in }