Added parameter oldlogstashjson to switch between the old and new logstash json format