Allow hostnames as Logstash endpoints.