some code for use with elasticsearch, kibana and logstash to send logs over UDP to elasticsearch