om_http module with basic authentication

Tags:

#1 Konsantin

Hello guys, i have http input in logstash configuration:

  http {
        port => "60114"
        type => "PaaS"
        user => "logs_account"
        password => "password"
  }

And i wanna send logs from NXLOG to logstash via this http endpoint. I think i can login/password in this format:

<Output elasticsearch>
    Module      om_http
    URL         "http://logs_account:password@logsserver:60111/"
</Output>

But NXLOG can't parse this URL and i have errors in log file

2015-10-30 16:25:55 ERROR invalid url: "http://logs_account:password@logsserver:60111/"
2015-10-30 16:25:55 ERROR Failed to parse url "logs_account:password@logsserver:60111/" at C:\Program Files (x86)\nxlog\conf\nxlog.conf:43