hi,
we're using logstash 2.2.2, I have next simple config of logstash:
input {
file {
path => "/var/log/logstash/logstash.log"
codec => "rubydebug"
}
}
output {
stdout {
codec => "json"
}
}
When I'm running logstash like this:
/opt/logstash/bin/logstash -f logstash.debug.conf
on stdout I receive nothing, while /var/log/logstash/logstash.log is changing (new logs coming) . Than, I tryed to launch it in debug mode:
/opt/logstash/bin/logstash -f logstash.debug.conf --debug
and receive next:
Reading config file {:file=>"logstash/agent.rb", :level=>:debug, :line=>"371", :method=>"local_config"}
@input_file_1 = plugin("input", "file", LogStash::Util.hash_merge_many({ "path" => ("/var/log/logstash/logstash.log") }, { "codec" => ("rubydebug") }))
.......
observe_read_file: general error reading /var/log/logstash/logstash.log - error: #<RuntimeError: Not implemented> {:level=>:debug, :file=>"filewatch/observing_tail.rb", :line=>"90", :method=>"observe_read_file"}
Can you tell what is wrong here?