mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Add logging
This commit is contained in:
parent
3f56b3d848
commit
b04304d440
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ class LogStash::Outputs::Elasticsearch < LogStash::Outputs::Base
|
|||
gem "jruby-elasticsearch", ">= 0.0.3"
|
||||
require "jruby-elasticsearch"
|
||||
|
||||
@logger.info(:message => "New ElasticSearch output", :cluster => @cluster,
|
||||
:host => @host, :port => @port)
|
||||
@pending = []
|
||||
@callback = self.method(:receive_native)
|
||||
@client = ElasticSearch::Client.new(:cluster => @cluster,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue