Added functionality for ES templates through logstash