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

Custom HTTP headers for the Elasticsearch output #3400

Merged
merged 1 commit into from
Jan 25, 2017

Commits on Jan 24, 2017

  1. Custom HTTP headers for the Elasticsearch output

    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.
    Tudor Golubenco committed Jan 24, 2017
    Configuration menu
    Copy the full SHA
    2073858 View commit details
    Browse the repository at this point in the history