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 plugin overwrites the host tag #828

Closed
tuupola opened this issue Mar 10, 2016 · 3 comments
Closed

Net response plugin overwrites the host tag #828

tuupola opened this issue Mar 10, 2016 · 3 comments

Comments

@tuupola
Copy link

tuupola commented Mar 10, 2016

Net response plugin overrides the host tag with the target host. Offending line is most likely #L172

@titilambert
Copy link
Contributor

@tuupola good point !
What about something like:

net_response,src=myhostname,host=myswitch,port=22,protocol=tcp response_time=0.18070360500000002,string_found=true 1454785464182527094

where src is the host from where the request is done and host is the targeted host ?

@sparrc
Copy link
Contributor

sparrc commented Mar 10, 2016

target host tag should be changed to something like "server"

titilambert added a commit to titilambert/telegraf that referenced this issue Mar 10, 2016
@titilambert
Copy link
Contributor

Fix here: #829

titilambert added a commit to titilambert/telegraf that referenced this issue Mar 10, 2016
@sparrc sparrc closed this as completed in ecbbb84 Mar 11, 2016
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

3 participants