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

net_response does not have a "success" field #6749

Closed
adrianlzt opened this issue Dec 3, 2019 · 2 comments
Closed

net_response does not have a "success" field #6749

adrianlzt opened this issue Dec 3, 2019 · 2 comments
Labels
bug unexpected problem or unintended behavior docs Issues related to Telegraf documentation and configuration descriptions
Milestone

Comments

@adrianlzt
Copy link
Contributor

Relevant telegraf.conf:

[[inputs.net_response]]
  protocol = "tcp"
  address = "127.0.0.1:60013"

System info:

Telegraf 1.11.3

Steps to reproduce:

  1. Run telegraf -test -config
  2. Check the output

Expected behavior:

A field called success.

Or maybe better, remove that field from the docs, as result_code has more information.

Actual behavior:

> net_response,host=hostA,port=60013,protocol=tcp,result=connection_failed,server=127.0.0.1 result_code=2i,result_type="connection_failed" 1575377951000000000

Additional info:

@danielnelson
Copy link
Contributor

So far as I can tell, this field never existed in a release version, it was added for 1.7.0 in #3455, but removed before release in 3ef28e3. I will remove it from the docs.

@danielnelson danielnelson added bug unexpected problem or unintended behavior docs Issues related to Telegraf documentation and configuration descriptions labels Dec 3, 2019
@danielnelson danielnelson added this to the 1.13.0 milestone Dec 3, 2019
@danielnelson
Copy link
Contributor

cc9a8cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior docs Issues related to Telegraf documentation and configuration descriptions
Projects
None yet
Development

No branches or pull requests

2 participants