Convert curl command to logstash-output-http

(Norman Lynch) #1

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" -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

(Magnus Bäck) #2

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

(system) #3

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