Skip to content
New issue

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

[Feature request] print details for inputs exec when encountering ERROR #3029

Closed
wei-hai opened this issue Jul 18, 2017 · 1 comment
Closed

Comments

@wei-hai
Copy link

wei-hai commented Jul 18, 2017

I have multiple inputs.exec running in Telegraf config file and I don't know which one is causing error when I see the error message in log file:

2017/07/18 13:02:42 E! ERROR in input [inputs.exec]: Errors encountered: [unable to parse '400 Error': invalid field format], [unable to parse '400 Error': invalid field format], [unable to parse '400 Error': invalid field format]

I suggest adding more details when encountering error by printing the related command.

@danielnelson
Copy link
Contributor

This is good idea, there is an existing issue open for this #1815

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants