Logstash crashes out with the following message

This thread addresses that. I would suggest hitting the root elasticsearch URL and working out what the code will do with the JSON that is returned.