change error messages
This commit is contained in:
parent
a79f1b7e0d
commit
9836b1eb02
|
@ -40,7 +40,6 @@ func (j *JSONPath) Parse(buf []byte) ([]telegraf.Metric, error) {
|
||||||
for k, v := range j.IntPath {
|
for k, v := range j.IntPath {
|
||||||
c := gjson.GetBytes(buf, v)
|
c := gjson.GetBytes(buf, v)
|
||||||
fields[k] = c.Int()
|
fields[k] = c.Int()
|
||||||
log.Printf("got a int: fields[%v]: %v", k, c.Int())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for k, v := range j.BoolPath {
|
for k, v := range j.BoolPath {
|
||||||
|
|
Loading…
Reference in New Issue