init script for logstash shipper or indexer