Skip to content

Instantly share code, notes, and snippets.

@filler
Created April 12, 2011 18:46
Show Gist options
  • Save filler/916116 to your computer and use it in GitHub Desktop.
Save filler/916116 to your computer and use it in GitHub Desktop.
i think i dos'ed elasticsearch?
W, [2011-04-12T14:44:59.031527 #28237] WARN -- logstash: ["Failure configuring index (http failed to connect?)", "http://localhost:9200/logstash", {"settings"=>{"logs"=>{"mappings"=>{"@source_host"=>{"type"=>"string"}, "@source_path"=>{"type"=>"string"}, "@tags"=>{"type"=>"string"}, "@timestamp"=>{"type"=>"date"}, "@source"=>{"type"=>"string"}, "@fields"=>{"type"=>"object", "properties"=>{"HOSTNAME"=>{"type"=>"string"}}}, "@message"=>{"type"=>"string"}}}}}]
W, [2011-04-12T14:44:59.031755 #28237] WARN -- logstash: [#<EventMachine::HttpClient:0x2b6dda0b0478 @socks_state=nil, @chunk_header={}, @deferred_timeout=nil, @content_decoder=nil, @headers=nil, @method="PUT", @redirects=0, @callbacks=[#<Proc:0x00002b6dd902d3a8@/usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/outputs/elasticsearch.rb:51>], @disconnect=nil, @parser=#<EventMachine::HttpClientParser:0x2b6dda0b03b0>, @last_effective_url=#<Addressable::URI:0x15b6ed058610 URI:http://localhost:9200/logstash>, @parser_nbytes=0, @data=#<EventMachine::Buffer:0x2b6dda0b0388>, @normalized_body="{\"settings\":{\"logs\":{\"mappings\":{\"@source_host\":{\"type\":\"string\"},\"@source_path\":{\"type\":\"string\"},\"@tags\":{\"type\":\"string\"},\"@timestamp\":{\"type\":\"date\"},\"@source\":{\"type\":\"string\"},\"@fields\":{\"type\":\"object\",\"properties\":{\"HOSTNAME\":{\"type\":\"string\"}}},\"@message\":{\"type\":\"string\"}}}}}", @uri=#<Addressable::URI:0x15b6ed058610 URI:http://localhost:9200/logstash>, @stream=nil, @deferred_status=:failed, @error="", @errbacks=[], @response_header={}, @deferred_args=[#<EventMachine::HttpClient:0x2b6dda0b0478 ...>], @options={:body=>"{\"settings\":{\"logs\":{\"mappings\":{\"@source_host\":{\"type\":\"string\"},\"@source_path\":{\"type\":\"string\"},\"@tags\":{\"type\":\"string\"},\"@timestamp\":{\"type\":\"date\"},\"@source\":{\"type\":\"string\"},\"@fields\":{\"type\":\"object\",\"properties\":{\"HOSTNAME\":{\"type\":\"string\"}}},\"@message\":{\"type\":\"string\"}}}}}", :redirects=>0, :keepalive=>false, :timeout=>10}, @content_charset=nil, @state=:response_header, @response="", @signature=3>]
/usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/outputs/elasticsearch.rb:60:in `register': Failure configuring index: http://localhost:9200/logstash (RuntimeError)
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:141:in `call'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:141:in `set_deferred_status'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/em/deferrable.rb:180:in `fail'
from /usr/lib/ruby/gems/1.8/gems/em-http-request-0.3.0/lib/em-http/client.rb:310:in `unbind'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:1417:in `event_callback'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from /usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/lib/logstash/agent.rb:95:in `run'
from /usr/lib/ruby/gems/1.8/gems/logstash-0.2.20110405105154/bin/logstash:86
from /usr/bin/logstash:19:in `load'
from /usr/bin/logstash:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment