Update logstash.sh

Fix permissions to write.