Skip to content

Instantly share code, notes, and snippets.

@dominicfarr
Created November 23, 2012 11:38
Show Gist options
  • Save dominicfarr/4135248 to your computer and use it in GitHub Desktop.
Save dominicfarr/4135248 to your computer and use it in GitHub Desktop.
logstash tutorial errors

CONFIG.

input {
  file {
    type => "qmg-app-logs"
    path => [ "/usr/local/logs/*.log", "/usr/local/tomcat/logs/catalina.out"]
  }
}
output {
  stdout { debug => true debug_format => "json"}
  elasticsearch { embedded => true }
}
java -jar logstash-1.1.5-monolithic.jar agent -f simple-logstash.conf  -- web --backend elasticsearch:///?local
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (LoadError) Unable to activate ftw-0.0.22, because addressable-2.3.2 conflicts with addressable (= 2.2.6)
	at RUBY.raise_if_conflicts(jar:file:/Users/dfarr/tmp/logshash/logstash-1.1.5-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/specification.rb:1637)
	at RUBY.activate(jar:file:/Users/dfarr/tmp/logshash/logstash-1.1.5-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/specification.rb:746)
	at RUBY.try_activate(jar:file:/Users/dfarr/tmp/logshash/logstash-1.1.5-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems.rb:212)
	at Kernel.require(jar:file:/Users/dfarr/tmp/logshash/logstash-1.1.5-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:59)
	at Kernel.require(jar:file:/Users/dfarr/tmp/logshash/logstash-1.1.5-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:55)
	at logstash.runner.require(logstash/runner.rb:10)
	at RUBY.(root)(file:/Users/dfarr/tmp/logshash/logstash-1.1.5-monolithic.jar!/logstash/web/runner.rb:2)
	at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1019)
	at Kernel.require(jar:file:/Users/dfarr/tmp/logshash/logstash-1.1.5-monolithic.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/custom_require.rb:36)
	at logstash.runner.require(logstash/runner.rb:10)
	at logstash.runner.run(logstash/runner.rb:78)
	at org.jruby.RubyProc.call(org/jruby/RubyProc.java:249)
	at logstash.runner.run(logstash/runner.rb:131)
	at logstash.runner.main(logstash/runner.rb:48)
	at logstash.runner.(root)(logstash/runner.rb:156)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment