FileBeat elasticsearch output, unable to add "host" to http headers

configure file:

        host: "datasearch"
        abc: "def"

I sniffer the network and find that "Abc" added to http header in every request,
but "Host" remains default value (someting like "")

I need to use specific value for "Host", or my elasticsearch server will return 404.

Checking the HTTP client APIs, the Host headers is actively filtered out by the stdlib and needs to configured in another place :frowning:

Please report this as bug.

OK, reported. Thanks.

This topic was automatically closed after 21 days. New replies are no longer allowed.