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

Allow to collect HTTP Headers thanks to http_response #7403

Closed
essobedo opened this issue Apr 24, 2020 · 2 comments · Fixed by #7405
Closed

Allow to collect HTTP Headers thanks to http_response #7403

essobedo opened this issue Apr 24, 2020 · 2 comments · Fixed by #7405
Labels
feature request Requests for new plugin and for new features to existing plugins
Milestone

Comments

@essobedo
Copy link
Contributor

Proposal:

The idea would be to have the ability to collect also HTTP Headers from the response thanks to the plugin http_response.

Current behavior:

So far, we only have access to very few headers which could be insufficient in particular use cases to properly treat the response since part of the data could be stored in the HTTP Headers of the response.

Desired behavior:

Provide the ability to configure a list of HTTP Headers to collect from the response. The value of those headers could be then stored as fields.

Use case:

I use the plugin http_response to access to different http endpoints which works pretty well but there are some endpoints that provide important information using custom HTTP headers that I cannot collect due to the current limitation, because of that, unless there is a workaround, I could have to use something else which I would like to avoid of course since I like Telegraf.

@essobedo
Copy link
Contributor Author

A potential PR #7405

@essobedo
Copy link
Contributor Author

@danielnelson Hi, could you please at least tell me if this feature request and the corresponding PR make sense to you or not? Thanks in advance

@danielnelson danielnelson added this to the 1.15.0 milestone May 26, 2020
@danielnelson danielnelson added the feature request Requests for new plugin and for new features to existing plugins label May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants