Skip to content

NotImplementedError: stat.st_dev unsupported or native support failed to load #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
impanda-cookie opened this issue Feb 17, 2017 · 1 comment

Comments

@impanda-cookie
Copy link

impanda-cookie commented Feb 17, 2017

Using logstash:alpine latest version (mac osx 10.12) with custom conf as follows:

input {
    file {
        path => "/var/log/nginx/access.log"
        codec => "json"
        tags => ["nginx"]
        type => "elk"
    }
}

filter{
    date {
        match => ["timestamp","yyyy-MM-dd hh:mm:ss"]
    }
}

output{
    stdout{
        codec=>rubydebug
    }
}

will throw error but logstash:latest work fine. how to fix ?

NotImplementedError: stat.st_dev unsupported or native support failed to load
dev_major at org/jruby/RubyFileStat.java:214
nix_inode at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:28
inode at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:32
inode at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:106
watch at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:96
_discover_file at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch-0.9.0/lib/filewatch/watch.rb:313
each at org/jruby/RubyArray.java:1613
each at org/jruby/RubyEnumerator.java:274
_discover_file at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/filewatch...

@tianon
Copy link
Member

tianon commented Oct 4, 2017

This image is officially deprecated in favor of upstream's images (see https://www.elastic.co/guide/en/logstash/current/docker.html).

For more information, please see docker-library/elasticsearch#160, docker-library/docs#842, and docker-library/docs#945.

This image has been deprecated in favor of the official logstash image provided and maintained by elastic.co. The upstream images are available to pull via docker.elastic.co/logstash/logstash:[version] like 5.4.2. The images found here will receive no further updates once the 5.6.0 release is available upstream. Please adjust your usage accordingly.

Elastic provides open-source support for Logstash via the elastic/logstash GitHub repository and the Docker image via the elastic/logstash-docker GitHub repository, as well as community support via its forums.

Thanks!

@tianon tianon closed this as completed Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants