mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Fix ES::Client usage
This commit is contained in:
parent
b51251cbbb
commit
657128a1b6
1 changed files with 2 additions and 2 deletions
|
@ -49,11 +49,11 @@ class LogStash::Outputs::Elasticsearch < LogStash::Outputs::Base
|
|||
require "jruby-elasticsearch"
|
||||
|
||||
@logger.info(:message => "New ElasticSearch output", :cluster => @cluster,
|
||||
:host => @host, :port => @port)
|
||||
:host => @address, :port => @port)
|
||||
@pending = []
|
||||
@callback = self.method(:receive_native)
|
||||
@client = ElasticSearch::Client.new(:cluster => @cluster,
|
||||
:host => @address, :port => @port)
|
||||
:address => @address, :port => @port)
|
||||
end # def register
|
||||
|
||||
# TODO(sissel): Needs migration to jrubyland
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue