Class: LogStash::Modules::ElasticsearchResource

Inherits:
Object
  • Object
show all
Includes:
ResourceBase
Defined in:
lib/logstash/modules/elasticsearch_resource.rb

Instance Attribute Summary

Attributes included from ResourceBase

#base, #content_id, #content_path, #content_type

Instance Method Summary collapse

Methods included from ResourceBase

#<=>, #==, #content, #content_as_object, #initialize, #to_s

Instance Method Details

#import_pathObject



6
7
8
# File 'lib/logstash/modules/elasticsearch_resource.rb', line 6

def import_path
  base + "/" + content_id
end