Skip to content

Instantly share code, notes, and snippets.

@anonymuse
Created February 12, 2013 22:31
Show Gist options
  • Save anonymuse/4774089 to your computer and use it in GitHub Desktop.
Save anonymuse/4774089 to your computer and use it in GitHub Desktop.
# sudo java -jar logstash-monolithic.jar agent -f /etc/logstash.conf
test
{"@source":"stdin://web1.jackthreads.com/","@tags":[],"@fields":{},"@timestamp":"2013-02-12T22:29:09.029Z","@source_host":"web1.jackthreads.com","@source_path":"/","@message":"test","@type":"stdin-type"}
Exception in thread "LogStash::Runner" org.jruby.exceptions.RaiseException: (NotImplementedError) stat.st_dev unsupported or native support failed to load
at org.jruby.RubyFileStat.dev_major(org/jruby/RubyFileStat.java:394)
at RUBY._discover_file(jar:file:/usr/local/bin/logstash-1.1.9-monolithic.jar!/gems/filewatch-0.5.0/lib/filewatch/watch.rb:140)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612)
at RUBY._discover_file(jar:file:/usr/local/bin/logstash-1.1.9-monolithic.jar!/gems/filewatch-0.5.0/lib/filewatch/watch.rb:122)
at RUBY.watch(jar:file:/usr/local/bin/logstash-1.1.9-monolithic.jar!/gems/filewatch-0.5.0/lib/filewatch/watch.rb:34)
at RUBY.tail(jar:file:/usr/local/bin/logstash-1.1.9-monolithic.jar!/gems/filewatch-0.5.0/lib/filewatch/tail.rb:58)
at RUBY.run(file:/usr/local/bin/logstash-1.1.9-monolithic.jar!/logstash/inputs/file.rb:124)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1612)
at RUBY.run(file:/usr/local/bin/logstash-1.1.9-monolithic.jar!/logstash/inputs/file.rb:124)
at RUBY.run_input(file:/usr/local/bin/logstash-1.1.9-monolithic.jar!/logstash/agent.rb:714)
at RUBY.start_input(file:/usr/local/bin/logstash-1.1.9-monolithic.jar!/logstash/agent.rb:367)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment