We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[[inputs.exec]] commands = ['sh -c "cat ~/telegraf.txt"'] timeout = "25s" data_format = "influx"
$ ./telegraf --version Telegraf v1.6.0~06c21fb9 (git: master 06c21fb9)
$ cat ~/telegraf.txt dt,entity=SERVICE-F08D806E7EF685CF timeseriesId="com.dynatrace.builtin:service.responsetime",metric=56167.75 dt,entity=SERVICE-F08D806E7EF685CF timeseriesId="com.dynatrace.builtin:service.responsetime",metric=65166.0 $ file ~/telegraf.txt /home/dbn/telegraf.txt: ASCII text, with CRLF line terminatorst $ telegraf --test 2018/01/02 10:54:07 I! Using config file: /home/dbn/.telegraf/telegraf.conf * Plugin: inputs.exec, Collection 1 2018-01-02T18:54:07Z E! Error in plugin [inputs.exec]: invalid number invalid number
$ telegraf --test 2018/01/02 11:00:57 I! Using config file: /home/dbn/.telegraf/telegraf.conf * Plugin: inputs.exec, Collection 1 > dt,entity=SERVICE-F08D806E7EF685CF,host=loaner timeseriesId="com.dynatrace.builtin:service.responsetime",metric=56167.75 1514919658000000000 > dt,entity=SERVICE-F08D806E7EF685CF,host=loaner timeseriesId="com.dynatrace.builtin:service.responsetime",metric=65166 1514919658000000000
2018-01-02T18:54:07Z E! Error in plugin [inputs.exec]: invalid number invalid number
Changing the file to unix line endings results in correct parsing.
The text was updated successfully, but these errors were encountered:
danielnelson
Successfully merging a pull request may close this issue.
Bug report
Relevant telegraf.conf:
System info:
Steps to reproduce:
Expected behavior:
Actual behavior:
Additional info:
Changing the file to unix line endings results in correct parsing.
The text was updated successfully, but these errors were encountered: