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
Ability to add additional information in HTTP header #1768
Comments
Can you add some more details about the headers you would like to add (with an example if possible)? I assume you are not referring to http auth? https://github.com/elastic/beats/blob/master/libbeat/_beat/config.full.yml#L86 |
Hi Ruflin, Thanks, |
Configuration looks like this: ``` output.elasticsearch.headers: X-My-Header: Contents of the header ``` To use from the CLI: ``` metricbeat -E "output.elasticsearch.headers.X-test=Test value" ``` It's not possible to set the same header name more than once with different values, but it is possible to separate header values with a comma, which has the same meaning as per the RFC. Closes elastic#1768.
Configuration looks like this: ``` output.elasticsearch.headers: X-My-Header: Contents of the header ``` To use from the CLI: ``` metricbeat -E "output.elasticsearch.headers.X-test=Test value" ``` It's not possible to set the same header name more than once with different values, but it is possible to separate header values with a comma, which has the same meaning as per the RFC. Closes #1768.
Hi,
Currently there is no way of adding an additional information in HTTP header (for authentication on server) in http request from filebeat to ElasticSearch. Please add this as a new feature in future releases of FileBeat. This would be very helpful for authentication purposes.
Thanks,
RK
The text was updated successfully, but these errors were encountered: