Convert curl command to logstash-output-http

I'm trying to replicate a curl command with Logstash 5.2.2 on a computer running Windows.

The curl command is:

curl -k -u "lynchnf:swordfish" https://mycompany.com:9998/some/service -d '{"event": {"some":"random","json":"data"}}'

The -k flag means the connection is insecure, the -u parameter is username and password, and the -d parameter is the data.

Any help you would be appreciated.

-- Norman Lynch

I'm afraid the http output doesn't yet support authentication.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.