Using Logstash to process syslog

The curl command gives the error above. Any ideas?