logstash client example