You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
About remove incorrect information about JSON format:
It whether that when the script output empty json?
In version V1.3.0,
sometime I don't need metrics write to influxdb, so my script output empty json,
the telegraf write error to log file,see below my test script:
test.bat @echo off
exit /b 0
E! Error in plugin [inputs.exec]: unable to parse out as JSON, unexpected end of JSON input
2.test.bat @echo off
echo ""
exit /b 0
E! Error in plugin [inputs.exec]: unable to parse out as JSON, json: cannot unmarshal string into Go value of type map[string]interface {}
BTW
I Know the data format is influx. the warning or error is removed by devoloper.
Bug report
The documentation for the exec should be updated:
System info:
c66e289
The text was updated successfully, but these errors were encountered: