From 21b3590507ad688b5038bb5a08a4f3a26a9885a3 Mon Sep 17 00:00:00 2001 From: ziv Date: Tue, 12 Jul 2022 19:04:13 +0800 Subject: [PATCH] [fix] input exec falcon format convert error bug --- parser/falcon/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/falcon/parser.go b/parser/falcon/parser.go index ac5d876..b0ea69c 100644 --- a/parser/falcon/parser.go +++ b/parser/falcon/parser.go @@ -60,7 +60,7 @@ func (p *Parser) Parse(input []byte, slist *list.SafeList) error { now := time.Now() for i := 0; i < len(samples); i++ { - fv, err := conv.ToFloat64(samples[i]) + fv, err := conv.ToFloat64(samples[i].Value) if err != nil { continue }