lib/logstash/outputs/elasticsearch_groom.rb in logstash-output-elasticsearch_groom-0.1.0 vs lib/logstash/outputs/elasticsearch_groom.rb in logstash-output-elasticsearch_groom-0.1.1
- old
+ new
@@ -91,10 +91,10 @@
raise LogStash::ConfigurationError, "A timestamp placeholder %{+___} is required in the 'index' config of elasticsearch_groom" \
unless @index.match /%{\+(.+)}/
end
protected
- def self.create_es_accessor(options)
+ def create_es_accessor(options)
require 'logstash/outputs/elasticsearch_groom/es_accessor'
LogStash::Outputs::EsGroom::EsAccessor.new(options)
end