Abstracting logstash scope from this class